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.