Issue #16768 has been updated by eric sorenson. Parent task deleted (#17017)
---------------------------------------- Bug #16768: puppet --no-client ignore SIGUSR1 https://projects.puppetlabs.com/issues/16768#change-74123 Author: Fabrice Bacchella Status: Merged - Pending Release Priority: Normal Assignee: eric sorenson Category: Target version: 3.1.0 Affected Puppet version: 3.0.0 Keywords: errors Branch: https://github.com/puppetlabs/puppet/pull/1209 When I run puppet with : `puppet agent --daemonize --listen` and then `pkill -SIGUSR1 -f /usr/bin/puppet` I get that in the log files : <pre> Oct 3 23:25:38 fe4 puppet-agent[30816]: Caught USR1; calling reload Oct 3 23:25:53 fe4 puppet-agent[30816]: Finished catalog run in 9.24 seconds </pre> But with : `puppet agent --daemonize --listen --no-client` I only get : <pre> Oct 3 23:28:47 fe4 puppet-agent[32198]: Caught USR1; calling reload Oct 3 23:29:21 fe4 puppet-agent[32198]: Caught USR1; calling reload </pre> So it seems that --no-client disable the SIGUSR1 handler. In the manual <pre> puppet help agent * --no-client: Do not create a config client. This will cause the daemon to run without ever checking for its configuration automatically, and only makes sense when puppet agent is being run with listen = true in puppet.conf or was started with the `--listen` option. ... * SIGUSR1: Immediately retrieve and apply configurations from the puppet master. </pre> So either it should be explained in the document or either SIGUSR1 should still be running with no-client. I vote for the second solution, as no-client talks about "checking for its configuration automatically". SIGUSR1 is not something automatic. I'm using official puppet : <pre> rpm -qi puppet Version : 3.0.0 Vendor: Puppet Labs Release : 1.el5 Build Date: Fri Sep 28 19:34:52 2012 </pre> -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
