Re: Overriding types?

Charlie Schluting
Thu, 21 Dec 2006 21:09:21 -0000

On 12/21/06, Luke Kanies <luke@madstop.com> wrote:
>
> You should be able to override it like anything else:
>
>    Remotefile["/etc/shadow"] { mode => 600 }
>

Could not retrieve configuration: Duplicate definition:
file[/etc/passwd] is already defined in file
/etc/puppet/manifests/solaris.pp at line 7; cannot redefine in file
/etc/puppet/manifests/solaris.pp at line 53

That''s the result of a test I did, which prompted the question. Note
that line 7 and line 53 are in different classes, but 53 inherits 7.

 -Charlie