On 12/13/2010 07:59 PM, Yushu Yao wrote: > 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).
This is actually an interesting problem I've been wondering about myself recently. Specifically, it passed my mined to exploit stored configs, i.e. I can tell puppet to only generate client catalogues if the corresponding server has been set up by puppet already. (LDAP is not a good example for this, I picture NFS setups etc. instead, with n servers known to puppet and k*n clients.) Any thoughts? Cheers, Felix -- 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.
