With both puppet-0.23.0 and 0.23.1 if I setup just the configuration file puppet.conf, none of the puppetd options seem to get parsed. I first noticed this when monit failed to start/stop services due to the lack of a pid file being generated (and mine is not in one of the usual places). I''m sure that something like the patch attached but I bet it breaks other assumptions :-) Cheers, Ryan _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users
On Jul 23, 2007, at 3:52 PM, Ryan Dooley wrote:> With both puppet-0.23.0 and 0.23.1 if I setup just the > configuration file > puppet.conf, none of the puppetd options seem to get parsed. I first > noticed this when monit failed to start/stop services due to the > lack of a > pid file being generated (and mine is not in one of the usual places). > > I''m sure that something like the patch attached but I bet it breaks > other > assumptions :-)What does the failing config file look like? Are you sure you don''t have an old puppetd.conf file around? -- There is nothing worse than aggressive stupidity. -- Johann Wolfgang von Goethe --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com
> What does the failing config file look like?--- [puppet] vardir = /foo/var/lib/puppet logdir = /foo/log/puppet rundir = /foo/var/run/puppet ssldir = /foo/conf/puppet/ssl confdir = /foo/conf/puppet [puppetd] ca_port = 18150 runinterval = 900 puppetport = 18139 authconfig = /foo/conf/puppet/namespaceauth.conf classfile = /foo/var/lib/puppet/classes.txt localconfig = /foo/var/lib/puppet/localconfig [puppetmaster] manifest = /foo/conf/puppet/manifests/init.pp masterport = 8140 storeconfigs = true [ldap] ldapnodes = true ldapserver = ldap.example.com ldapbase = ou=hosts,ou=production,dc=example,dc=com ---> Are you sure you don''t have an old puppetd.conf file around?yep, I removed it before restarting (it was a symlink)
On Mon, 2007-07-23 at 17:21 -0700, Ryan Dooley wrote:> > What does the failing config file look like? > > --- > > [puppet] > vardir = /foo/var/lib/puppet > logdir = /foo/log/puppet > rundir = /foo/var/run/puppet > ssldir = /foo/conf/puppet/ssl > confdir = /foo/conf/puppetIIRC, this section must be called ''main'' now, otherwise these settings are ignored. David