Ask Your Question
1

base packages - better as a class or a node?

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

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.

Thanks

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

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

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

Stats

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

Seen: 345 times

Last updated: Jan 18 '13