On Tue, Apr 20, 2010 at 9:48 PM, Andrew Heagle <[email protected]> wrote:
>
> When you are using LDAP and puppetrun, you do not do puppetrun --host
> <hostname>..., instead you use puppetrun --class <myclass> ...  This
> will find all the hosts in your LDAP directory with "puppetClass:
> myclass", and contact all those. This won't work for classes that are
> associated with a host, but are not explicitly defined in your LDAP
> node entry.
>
> So, in your case, you could run:
> puppetrun --class pacemaker
>
> It would then connect to all your nodes listed in LDAP that use that
> class. If it is not working, then I would check your logs for your
> LDAP server to see if the queries are getting sent properly.
>

that's what i got from the documents, yes.. but not from my experience.

# puppetrun --class pacemaker
You must be using LDAP to specify host classes

while indeed it's there in ldap.

i've set ldap loglevel to debug mode, and didn't see any indication
that puppetrun sent any queries at all.

-- 
-jamal-

-- 
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.

Reply via email to