Issue #22319 has been updated by Josh Partlow.

Affected Puppet version changed from 3.2.4 to development

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

* Author: Josh Partlow
* Status: Accepted
* Priority: Normal
* Assignee: Josh Partlow
* Category: settings
* Target version: 3.3.0
* Affected Puppet version: development
* 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