On 17/01/13 09:54, Axel Bock wrote:
> 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

Looks like you're using the template() function with the source
parameter when it should be content => template(...).  Puppet is trying
to parse the shell script as a source URL.

-- 
Dominic Cleal
Red Hat Engineering

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to