Ask Your Question

base packages - better as a class or a node?

asked 2013-01-18 14:12:00 -0600

inthedark gravatar image

Hi all,

When using a base set of packages to apply to all hosts (ie snmpd, ntp, ldap, etc) is it better to

  1. create a base 'node' and then include individual modules

  2. create a base class (module) with all of the default packages defined in it.

I can see advantages to both.


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-01-18 17:36:09 -0600

JoshCody gravatar image

As a general "best-practice" it's best not to use inherited nodes and favor the base class instead. The Puppet documentation has a note about how Puppet manages inherited nodes internally that's definitely worth a read:

Node Inheritance

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2013-01-18 14:12:00 -0600

Seen: 369 times

Last updated: Jan 18 '13