Thanks Eric, I am trying to implement some function tests. E.g. in my catalog for node B there is LDAP client, however, I would like to do a test to see if the LDAP server is already up and running. And decide if I want to apply the LDAP Client or not. (This is a test on remote resource, I might also need to test a resource local to the client, e.g. existence of a file, a service is running, etc).
Maybe I can use custom facter for this? Thank a lot -Yushu +-------------------------------------------------+ | Yushu Yao | Ph:1-510-486-4690 | | Lawrence Berkeley National Lab | Mailstop 50B-6222 | 1 Cyclotron Road | Berkeley CA 94720-8147 - USA +-------------------------------------------------+ On Mon, Dec 13, 2010 at 10:54 AM, Eric Sorenson <[email protected]>wrote: > Functions are executed when parsing a manifest, which a client doesn't do > -- a client applies a catalog. > > So it doesn't make sense to run a manifest parser on a client. > > What is the problem you are trying to solve? > > On Dec 13, 2010, at 10:37 AM, Yushu Yao wrote: > > > Hi Experts, > > > > As far as I can see custom functions run on the server, right? > > Is there way to make them run on the Client? > > > > Thanks > > > > -Yushu > > > > > > -- > > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > [email protected]<puppet-users%[email protected]> > . > > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<puppet-users%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
