On Jul 4, 2011, at 5:45 AM, Felix Frank wrote:

> On 07/01/2011 08:41 PM, Craig White wrote:
>> Moving it to templates and appending .erb to the names handled things fine 
> 
> I think that's gratuitous.
> 
> You can use templates without .erb names. Also, the file() function
> would be more appropriate given the circumstances.
> 
> Of course, the "right way" is probably what Stefan wrote.
----
of course it would be the right way and I completely missed that detail the 
detail was fuzzy enough to require a few reads before I understood it.

I sort of like using the extensions feature to remind me of what the file is 
and how it is being used - especially because of Rails experience, I know 
instantly that an erb file is for 'view'

Craig

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
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