Hi folks I''m trying to have the puppetmaster send a puppetrun command out, and not getting very far with it. I have in the manifests, a sshd defined, and my box testbox is supposed to be running sshd. If it ever isn''t, I''m trying to have my puppetmaster machine kick off a puppetrun to restart it, thusly: puppetrun --host testbox -d --ignoreschedules -t sshd I have not gotten this command to restart sshd, either running it as root, as puppet, or as other non-privileged users. As root, I at least get debug response as below: puppetrun --host testbox -d --ignoreschedules -t sshd Failed to load ruby LDAP library. LDAP functionality will not be available debug: Parsing /etc/puppet/puppet.conf Finished In the namespaceauth.conf file on the puppetmaster, I have fileserver, puppetmaster and puppetrunner all set to allow everything in my test lab, and I have puppetrunner set on the client machine to allow the puppetmaster to do its thing. I also have puppet.conf set with listen enabled on the client. Do I need to have something specific in the puppetmaster''s puppet.conf file to enable the puppetmaster to run this? Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Found the answer I needed - looks like other folks have run into this too, and I just didn''t see it. On Jan 30, 12:04 pm, rjustinwilli...@gmail.com wrote:> Hi folks > > I''m trying to have the puppetmaster send a puppetrun command out, and not > getting very far with it. > > I have in the manifests, a sshd defined, and my box testbox is supposed to > be running sshd. > > If it ever isn''t, I''m trying to have my puppetmaster machine kick off a > puppetrun to restart it, thusly: > puppetrun --host testbox -d --ignoreschedules -t sshd > > I have not gotten this command to restart sshd, either running it as root, > as puppet, or as other non-privileged users. > As root, I at least get debug response as below: > puppetrun --host testbox -d --ignoreschedules -t sshd > Failed to load ruby LDAP library. LDAP functionality will not be available > debug: Parsing /etc/puppet/puppet.conf > Finished > > In the namespaceauth.conf file on the puppetmaster, I have fileserver, > puppetmaster and puppetrunner all set to allow everything in my test lab, > and I have puppetrunner set on the client machine to allow the puppetmaster > to do its thing. I also have puppet.conf set with listen enabled on the > client. > > Do I need to have something specific in the puppetmaster''s puppet.conf file > to enable the puppetmaster to run this? > > Thanks!--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Glad you solved the issue. If there is something you think would improve the documentation and make it more clear for the next person, please add your notes. On Fri, Jan 30, 2009 at 12:33 PM, zoniguana <rjustinwilliams@gmail.com>wrote:> > Found the answer I needed - looks like other folks have run into this > too, and I just didn''t see it. > > > > On Jan 30, 12:04 pm, rjustinwilli...@gmail.com wrote: > > Hi folks > > > > I''m trying to have the puppetmaster send a puppetrun command out, and not > > > getting very far with it. > > > > I have in the manifests, a sshd defined, and my box testbox is supposed > to > > be running sshd. > > > > If it ever isn''t, I''m trying to have my puppetmaster machine kick off a > > puppetrun to restart it, thusly: > > puppetrun --host testbox -d --ignoreschedules -t sshd > > > > I have not gotten this command to restart sshd, either running it as > root, > > as puppet, or as other non-privileged users. > > As root, I at least get debug response as below: > > puppetrun --host testbox -d --ignoreschedules -t sshd > > Failed to load ruby LDAP library. LDAP functionality will not be > available > > debug: Parsing /etc/puppet/puppet.conf > > Finished > > > > In the namespaceauth.conf file on the puppetmaster, I have fileserver, > > puppetmaster and puppetrunner all set to allow everything in my test lab, > > > and I have puppetrunner set on the client machine to allow the > puppetmaster > > to do its thing. I also have puppet.conf set with listen enabled on the > > client. > > > > Do I need to have something specific in the puppetmaster''s puppet.conf > file > > to enable the puppetmaster to run this? > > > > Thanks! > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Hi> Glad you solved the issue. > > If there is something you think would improve the documentation and make it > more clear for the next person, please add your notes.it would also be nice to have the actual solution added to this thread. Just in case someone else is having once this problem again. cheers pete --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---