[Puppet Users] Re: Silent failure

Charles Johnson
Sun, 06 Sep 2009 22:25:32 -0000

On Sun, Sep 6, 2009 at 2:39 PM, Andrew Shafer
<andrew@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