Issue #4640 has been updated by R.I. Pienaar aka Volcane.

I understand the reason behind it, but it doesn't work - as per the associated 
bug.  The limitation was also pointed out in #2441 its not clear if testing was 
completed, the existence of the bug suggests it wasnt.

Additionally I think putting arbitrary restrictions on what users can do just 
doesn't make sense - puppet is a framework there to enable us to build what we 
want with it, arbitrary restrictions doesn't achieve that goal.  

As for the utility of this feature, I think the most used case would be to 
retrieve something like SVN revision of the checked out code on the master.  
This seems to be what I see most on IRC etc, so I don't think the utility of 
the option would be diminished.  I think the utility of the option is 
diminished by the mere fact that it has this restriction on it because it 
limits what people can do.
----------------------------------------
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