Michael Buckner
2013-Oct-25 14:47 UTC
[Puppet Users] Puppet agent not running automatically
Brand new install or Foreman/Puppet. Puppet agent runs fine manually but does not run automatically. Any suggestions? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
puppetstan
2013-Oct-25 15:55 UTC
[Puppet Users] Re: Puppet agent not running automatically
Hi, When you doing /etc/init.d/puppet start it s not good? regards Le vendredi 25 octobre 2013 16:47:15 UTC+2, Michael Buckner a écrit :> > Brand new install or Foreman/Puppet. Puppet agent runs fine manually but > does not run automatically. > > Any suggestions? >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
Michael Buckner
2013-Oct-25 16:02 UTC
[Puppet Users] Re: Puppet agent not running automatically
The puppet agent is already running, it just never actually checks in with the puppetmaster unless I manually run puppet agent -t Puppet was install automatically via the foreman-installer. Here are the contents of [agent] in puppet.conf: [agent] # The file in which puppetd stores a list of the classes # associated with the retrieved configuratiion. Can be loaded in # the separate ``puppet`` executable using the ``--loadclasses`` # option. # The default value is ''$confdir/classes.txt''. classfile = $vardir/classes.txt # Where puppetd caches the local configuration. An # extension indicating the cache format is added automatically. # The default value is ''$confdir/localconfig''. localconfig = $vardir/localconfig # Disable the default schedules as they cause continual skipped # resources to be displayed in Foreman - only for Puppet >= 3.4 default_schedules = false report = true pluginsync = true masterport = 8140 environment = production certname = puppet.mycompany.com server = puppet.mycompany.com listen = false splay = false runinterval = 1800 noop = false show_diff = false On Friday, October 25, 2013 11:55:31 AM UTC-4, puppetstan wrote:> > Hi, > > When you doing > > /etc/init.d/puppet start > > it s not good? > > regards > > Le vendredi 25 octobre 2013 16:47:15 UTC+2, Michael Buckner a écrit : >> >> Brand new install or Foreman/Puppet. Puppet agent runs fine manually but >> does not run automatically. >> >> Any suggestions? >> >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
Rahul Khengare
2013-Oct-28 10:07 UTC
[Puppet Users] Re: Puppet agent not running automatically
Hi Michael, puppetd daemon run in background when we configure to run automatically. It does not send the output of catalog running to standard output terminal.> runinterval =1800This specify that on your puppet client manifests catalog is deploye after every 30 minutes(1800 Second). Refer http://docs.puppetlabs.com/references/latest/configuration.html#runinterval Try enabling the runlevel of puppet service # chkconfig puppet --list Hope this will help. Thanks and Regards, Rahul Khengare, NTT DATA OSS Center, Pune, India. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
Rahul Khengare
2013-Oct-28 10:08 UTC
[Puppet Users] Re: Puppet agent not running automatically
Hi Michael, puppetd daemon run in background when we configure to run automatically. It does not send the output of catalog running to standard output terminal.> runinterval =1800This specify that on your puppet client manifests catalog is deploye after every 30 minutes(1800 Second). Refer http://docs.puppetlabs.com/references/latest/configuration.html#runinterval Try enabling the runlevel of puppet service ON # chkconfig puppet on Hope this will help. Thanks and Regards, Rahul Khengare, NTT DATA OSS Center, Pune, India. On Friday, October 25, 2013 9:32:57 PM UTC+5:30, Michael Buckner wrote:> > The puppet agent is already running, it just never actually checks in with > the puppetmaster unless I manually run puppet agent -t > > Puppet was install automatically via the foreman-installer. Here are the > contents of [agent] in puppet.conf: > > [agent] > > # The file in which puppetd stores a list of the classes > > # associated with the retrieved configuratiion. Can be loaded in > > # the separate ``puppet`` executable using the ``--loadclasses`` > > # option. > > # The default value is ''$confdir/classes.txt''. > > classfile = $vardir/classes.txt > > > # Where puppetd caches the local configuration. An > > # extension indicating the cache format is added automatically. > > # The default value is ''$confdir/localconfig''. > > localconfig = $vardir/localconfig > > > # Disable the default schedules as they cause continual skipped > > # resources to be displayed in Foreman - only for Puppet >= 3.4 > > default_schedules = false > > > report = true > > pluginsync = true > > masterport = 8140 > > environment = production > > certname = puppet.mycompany.com > > server = puppet.mycompany.com > > listen = false > > splay = false > > runinterval = 1800 > > noop = false > > show_diff = false > > On Friday, October 25, 2013 11:55:31 AM UTC-4, puppetstan wrote: >> >> Hi, >> >> When you doing >> >> /etc/init.d/puppet start >> >> it s not good? >> >> regards >> >> Le vendredi 25 octobre 2013 16:47:15 UTC+2, Michael Buckner a écrit : >>> >>> Brand new install or Foreman/Puppet. Puppet agent runs fine manually but >>> does not run automatically. >>> >>> Any suggestions? >>> >>-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.