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

Updated some machines to 0.25.3 masters and client:

same script as before, same config as before:

<pre>
err: Could not retrieve catalog from remote server: Error 400 on SERVER: Unable 
to set config_version: Execution of '/usr/local/bin/getrevision.sh' returned 1: 
 on node monitor2.my.net
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run
</pre>


<pre>
-rwxr-xr-x 1 root root 71 Jan 13 21:22 /usr/local/bin/getrevision.sh
# su - puppet
% /usr/local/bin/getrevision.sh
4602
% echo $?
0
</pre>

----------------------------------------
Bug #3043: Exec format error with config_version being a shell script
http://projects.reductivelabs.com/issues/3043

Author: R.I. Pienaar aka Volcane
Status: Investigating
Priority: Normal
Assigned to: 
Category: plumbing
Target version: 0.25.4
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://reductivelabs.com/redmine/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