On 12 Aug 2011, at 13:49, Darren Chamberlain wrote:

> On 8/12/2011 7:43 AM, Tom De Vylder wrote:
>> file {
>>      "/var/www/app/include":
>>              ensure =>  directory;
>> 
>>      "/var/www/app/include/init.php":
>>              ensure =>  present,
>>              source =>  template ("app/init.php.erb");
> 
>                content => template("app/init.php.erb");
> 
>> }
> 
> If you use source, it evaluates the template, then looks for a file with that 
> name.  I've been bitten by that many times as I change things from files to 
> templates.

That seemed to fix it right away.
Thanks!

TomDV

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