Issue #3692 has been updated by Andriy Yurchuk.

I've been by this bug in 3.1.1. What version is it planned to fixed in?

----------------------------------------
Bug #3692: reevaluate config_version whenever an agent checks in.
https://projects.puppetlabs.com/issues/3692#change-90057

* Author: Alan Barrett
* Status: Accepted
* Priority: Normal
* Assignee: eric sorenson
* Category: plumbing
* Target version: 
* Affected Puppet version: 0.25.4
* Keywords: 
* Branch: 
----------------------------------------
When puppet manifests are edited, puppetmasterd usually notices, and computes a 
new configuration version by invoking the "config_version" script or by using 
the default (derived from the current time).  However, when files are edited, 
the configuration version remains unchanged.

<pre>
# .../modules/mymodule/manifests/init.pp
class mymodule {
    file { "/dir/filename":
        ensure => file,
        source => "puppet:///mymodule/filename",
    }
}
</pre>

If I edit .../modules/mymodule/manifests/init.pp, then the configuration 
version gets updated next time a client connects.  So far so good.

However, if I edit .../modules/mymodule/files/filename, the configuration 
version remains unchanged.  A message on the client say "info: Applying 
configuration version '<old version number here>'".

>From my point of view, I would like it to be seen as as a configuration change 
>when I edit a file that gets deployed from a "files" subdirectory in a module. 
> I use subversion revision numbers in the config_version, and I want to be 
>able to tell people "check that the configuration version is at least <N>, to 
>be sure that you have the latest changes to <filename>".



-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to