Issue #22319 has been updated by Josh Partlow.

Category set to settings
Status changed from Unreviewed to Accepted
Assignee set to Josh Partlow
Target version set to 3.3.0
Keywords set to watchedfile

----------------------------------------
Bug #22319: Puppet raises an error and aborts if a configuration file is 
touched causing it to be reparsed by Puppet::Settings.
https://projects.puppetlabs.com/issues/22319#change-96844

* Author: Josh Partlow
* Status: Accepted
* Priority: Normal
* Assignee: Josh Partlow
* Category: settings
* Target version: 3.3.0
* Affected Puppet version: 3.2.4
* Keywords: watchedfile
* Branch: 
----------------------------------------
Puppet::Settings#any_files_changed? misuses WatchedFile, calling 
Puppet::Util::WatchedFile#file which does not exist.

Make sure the agent will find a puppet.conf to watch

    jpartlow@percival: touch ~/.puppet/puppet.conf

Start up a master per util/README_UTIL.md

    jpartlow@percival:~/work/puppet$ util/dev-puppet-master watched-file

In a separate terminal

    jpartlow@percival:~/work/puppet$ be puppet agent --debug --trace --server 
puppetmaster
    jpartlow@percival: touch ~/.puppet/puppet.conf

The agent will die.  (So will the master because it happens to be watching 
~/.puppet/puppet.conf as well)


-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to