[Puppet Users] Re: node, class inheritance confusion

Evan Hisey
Thu, 26 Jun 2008 20:04:32 -0000

On Thu, Jun 26, 2008 at 12:49 PM, Johnny Tan <linuxweb@gmail.com>
wrote:
>
> Evan Hisey wrote:
>> Do to quirks in another node I need to change node base to a class
>> base. I discovered that nodes can''t inherit class. Not a
problem, and
>> it is mentioned in the language tutorial so I tried this setup
>
> This should work:
>
> class base {
>   include base-repos
>   include ssh-base
>   include common-root
>   include puppet
> }
>
> node ox {
>   include base
>   include java
> }
I am sure this works as does the my first example, and I can change
everything around in all teh other nodes to make things work. The
question though is not waht will work, but why one does and the other
does not.It is a question on implementation theory and not for a
working solution.

Evan