Issue #7273 has been updated by Ryan Conway.

Hey Randall,

So this is our issue. We have Puppet managing its own configuration file, for 
both the master and the agent. We define the service and subscribe to the 
relevant files like so:

        service { "puppet":
                enable  => "true",
                ensure  => running,
                subscribe => [ File["/etc/init.d/puppet"], 
File["/etc/default/puppet"], File["/etc/puppet/puppet.conf"] ],
        }

If any of those files are changed, when the agent next runs, the following is 
logged to /var/log/daemon.log:

<pre>May 18 17:48:27 puppetmaster puppet-agent[20088]: Starting Puppet client 
version 2.6.8
May 18 17:48:37 puppetmaster puppet-master[32372]: Compiled catalog for 
puppetmaster in environment production in 0.80 seconds
May 18 17:48:41 puppetmaster puppet-agent[20088]: 
(/Stage[main]/Puppetmaster/File[/etc/puppet/puppet.conf]/content) content 
changed '{md5}bba3dcc72ce50aece08416b62db4dda3' to 
'{md5}7ace02c1b78ba7e9e5bfaf95e197d179'
May 18 17:48:41 puppetmaster puppet-agent[20088]: Caught TERM; calling 
stop</pre>

The agent daemon has now stopped running. This example is from the agent 
running on our master, but the same thing happens on any node:

<pre>May 18 17:52:16 ryanpuppettest puppet-agent[4404]: 
(/Stage[main]/Puppetslave/File[/etc/puppet/puppet.conf]/content) content 
changed '{md5}ec16838eb75d99c156fc7a124965d9ed' to 
'{md5}e3eb04c7c07bf99d0f70d5f16d241dfa'
May 18 17:52:25 ryanpuppettest puppet-agent[4404]: Caught TERM; calling 
stop</pre>

If you need any more information, let me know!
Ryan
----------------------------------------
Bug #7273: Modifying puppet.conf causes 'reparsing config' and TERM signal 
results in shutdown of daemon
https://projects.puppetlabs.com/issues/7273

Author: Randall Hansen
Status: Unreviewed
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 
Keywords: 
Branch: 


... waiting for details from Ryan Conway ...


-- 
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.

Reply via email to