On Sun, Sep 6, 2009 at 2:39 PM, Andrew Shafer <and...@reductivelabs.com>wrote:

>
> >
> > class bash{
> >                file { "dir_colors" :
> >
> >                        mode => 644,
> >                        owner => root,
> >                        group => root,
> >                   ensure => file,
> >                        path => "/etc/DIR_COLORS",
> >                        #source => "puppet://$fileserver/bash/dir_colors"
> >                        content => template("bash/templates/dir_colors")
> >        }
> > }
> >
>
> I know this much -><- about templates, but I am always leery about relative
> paths in puppet, and documentation notwithstanding I always end every entry
> in a file resource with a comma ",". So,
>


> content => template("bash/templates/dir_colors"),
>

Cheers--

Charles

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