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

Markus Roberts wrote:
> I'll drop it to low, but rather than killing it outright I'll leave it open 
> for a while in the hopes that we can at least figure out what the problem is. 
>  What happens if you try even simpler scripts, such as echoing a constant 
> string, exiting with 0, etc.?  Can you try tee-ing the output to a file and 
> checking 1) to make sure it's getting run at all and 2) see if the file 
> contents look correct?  And so forth?
> 
> -- Markus

I pretty much tried all these before going for the current hack solution I have 
that calls /bin/cat on a file i prepare from cron, sucky.

I will spend some more time on this soon
----------------------------------------
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: Needs more information
Priority: Low
Assigned to: R.I. Pienaar aka Volcane
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