Hi group, 

I am trying to template a bash script with puppet. Unfortunately, this 
fails with a bang, and even more unfortunately I have no idea why. 

The script starts with the usual 

#!/bin/bash

When I run puppet, I get this: 

info: Caching catalog for l1211022.sdst.sbaintern.de
err: Failed to apply catalog: Parameter source failed: Could not understand 
source #!/bin/bash

[... complete script dump ...]

... in neon pink. I tried encapsulating it in <%= "#!/bin/bash" %>, or even 
in <%= "!" %><%= "#/bin/bash" %>, but no use. I think I am triggering some 
ERB-internal thing here, but I could not find anything in the docs, and I 
am kind of lost here. 


Can anyone help? 
Thanks in advance & greetings, 
Axel.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/XSWbTxWmxgcJ.
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-users?hl=en.

Reply via email to