Re: Overriding types?

Charlie Schluting
Thu, 21 Dec 2006 23:13:52 -0000

On 12/21/06, Luke Kanies <luke@madstop.com> wrote:
> On Dec 21, 2006, at 3:09 PM, Charlie Schluting wrote:
> > 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.
>
> Can you please open that as a bug with a complete example that shows
> the failure?


Uhm, oops. I''m not actually inheriting the class where the file is
defined. That''s the problem.
The class is applied to the node, but not directly inherited.

This is going to be interesting. Has a need for multiple inheritance
ever been brought up? :)

Thanks for the help, Luke. I''m going to have to rethink my structure
(or use a selector).

 -Charlie