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

Markus Roberts wrote:
> Any suggestions on how to replicate it?  Also, does it work with an "exit 0" 
> in the script?  The only way I can see to make this happen is to have the 
> script fail with an exit code of 1, which (it appears) should not be the case.

have attempted to recreate on a Debian machine and it works fine.  I think I'm 
about happy to say this is either some weird centos thing - though Dan cant 
reproduce on centos either - or more likely something specific to my 
environment.
----------------------------------------
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