Don't feel bad, Axel. 
You learned from this goof. 

The stooopid question is the one you do NOT ask . Then you suffer in silent 
ignorance. 

Ignorance can be fixed. Stupidity ....? 


“Sometimes I think the surest sign that intelligent life exists elsewhere in 
the universe is that none of it has tried to contact us.” 
Bill Waterson (Calvin & Hobbes) 

----- Original Message -----
From: "Dominic Cleal" <dcl...@redhat.com> 
To: puppet-users@googlegroups.com 
Sent: Thursday, January 17, 2013 4:59:33 AM 
Subject: Re: [Puppet Users] Templating a shell script - major error 

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. 

-- 
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