On Wed, Apr 21, 2010 at 1:39 AM, Jamaludin Ahmad <jamalu...@gmail.com> wrote:
> On Tue, Apr 20, 2010 at 9:48 PM, Andrew Heagle <logaan...@gmail.com> 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-
>

ah, sorry for replying to my own email, i got the problem. thanks for
the hint for me to look at ldap's log. puppetrun never run any queries
to ldap because my ldap configuration is under "puppetmasterd"
namespace. i move it to [main], and it's fixed.

again, thanks..


-- 
-jamal-

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to