[Puppet Users] Re: node, class inheritance confusion

Johnny Tan
Thu, 26 Jun 2008 17:49:10 -0000

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