Issue #4640 has been updated by Markus Roberts.

Status changed from Unreviewed to Duplicate

The reason for not having it update every run is we want, as near as possible, 
to have distinct config versions correspond to distinct catalogs; if the config 
versions are the same you know that the catalogs are the same.  The utility of 
this is diminished if the versions update without an underlying change.
----------------------------------------
Bug #4640: config_version being cached
http://projects.puppetlabs.com/issues/4640

Author: R.I. Pienaar aka Volcane
Status: Duplicate
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected version: 2.6.1rc3
Keywords: 
Branch: 


Given the config:

<pre>
[master]
        config_version = /usr/local/bin/getrevision.sh
</pre>

with getrevision.sh:

<pre>
#!/bin/bash

/bin/date
</pre>

If I restart the master and run a client:

<pre>
# /etc/init.d/puppetmaster restart
Stopping puppetmaster:                                     [  OK  ]
Starting puppetmaster:                                     [  OK  ]
# date && puppetd --test
Fri Aug 27 17:18:22 EDT 2010
info: Caching catalog for li190-90.members.linode.com
info: Applying configuration version 'Fri Aug 27 17:18:24 EDT 2010'
</pre>

That's all fine, now wait a while and run the agent again:

<pre>
# date && puppetd --test
Fri Aug 27 17:19:09 EDT 2010
info: Caching catalog for li190-90.members.linode.com
info: Applying configuration version 'Fri Aug 27 17:18:24 EDT 2010'
</pre>

the version doesn't change, seems to be cached.

I tried to get someone to verify this but couldnt track someone down.


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