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

Todd Zullinger wrote:
> I used to be able to reproduce on CentOS 5, but testing with 0.25.5 I now 
> cannot.
> 
> (I was happy to find it working until I realized that the config_version 
> script is only called once, when puppetmasterd starts.  So if I have 
> /bin/date or a more complex script to divine the current git commit id, the 
> value is not updated unless puppetmasterd is restarted.  Which makes this 
> less than useful.  Is that worthy of a separate bug or similar enough to 
> warrant investigating here?)

Really? that's not my experience.  At the moment my hacky solution is to have 
the script that updates my svn checkout leave a file, then in puppet.conf I 
have:

<pre>
    config_version      = /bin/cat /etc/puppet/manifest-version.txt
</pre>

And as soon as my SVN updates my machines start reporting the right version
----------------------------------------
Bug #3043: Exec format error with config_version being a shell script
http://projects.puppetlabs.com/issues/3043

Author: R.I. Pienaar aka Volcane
Status: Investigating
Priority: High
Assigned to: Markus Roberts
Category: plumbing
Target version: 2.6
Affected version: 0.25.2
Keywords: 
Branch: 


hello,

I've a simple script that just looks like this:

<pre>
#!/bin/bash

/bin/date
</pre>

If I set _config_version_ to this I get:

info: Applying configuration version 'Exec format error - 
/usr/local/bin/getrevision.sh'

but If I set _config_version_ to _/bin/date_ directly it works a charm, seems 
to only affect scripts not binaries, newest system I have is 0.25.2 and it 
fails there.


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