Re: [Puppet Users] hosts update trouble

Christopher Johnston
2010-01-26T22:34:11Z

Confused, does puppetrun require webrick or mongrel (please say no).

# puppetrun --host labhost --ping --foreground --debug
Failed to load ruby LDAP library. LDAP functionality will not be available
debug: Parsing /etc/puppet/puppet.conf
debug: Puppet::Network::Client::Runner: defining puppetrunner.run
Triggering labhost
debug: Calling puppetrunner.run
err: Could not call puppetrunner.run: #<RuntimeError: HTTP-Error: 500
Internal Server Error >
Host labhost failed: HTTP-Error: 500 Internal Server Error
labhost finished with exit code 2
Failed: labhost


On Tue, Jan 26, 2010 at 10:44 AM, Eric Gerlach
<egerlach@feds.uwaterloo.ca>wrote:

> On Sun, Jan 24, 2010 at 07:28:52PM -0600, Carl Caum wrote:
> > Add:
> >
> > ignoreschedules = true
> >
> > to your puppet.conf.  I think you can also set
> >
> > listen = true
> >
> > and that will disable runs and just run when triggered by authorized
> nodes.  Others will know more about that than me.  Anyone care to jump in?
>
> listen=true only causes puppet to listen for puppetrun triggers.  It
> doesn''t
> disable the standard running.  If you only want to run puppetd once, use
> the
> --onetime option.
>
> So... if you want to run it from cron, create a cron job that runs puppetd
> --onetime, and don''t start the service.
>
> Cheers,
>
> --
> Eric Gerlach, Network Administrator
> Federation of Students
> University of Waterloo
> p: (519) 888-4567 x36329
> e: egerlach@feds.uwaterloo.ca
>
> --
> 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<puppet-users%2Bunsubscribe@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.