Monday, December 1, 2014

Puppet - Containment Revisited

So as of Puppet 3.4.0, they addressed classes-containing-classes.


Read this as they will describe it much better than me.
http://puppetlabs.com/blog/class-containment-puppet

So the latest docs mention the old anchor pattern:
https://docs.puppetlabs.com/puppet/latest/reference/lang_containment.html#anchor-pattern-containment-for-compatibility-with-puppet--340

Some of the older docs mention the new-in-3.4.0 'contain' function:
https://docs.puppetlabs.com/puppet/3/reference/lang_containment.html#in-puppet-340--puppet-enterprise-32-and-later

And here's the 'contain' function again in the new docs:
https://docs.puppetlabs.com/puppet/3.5/reference/lang_containment.html#the-contain-function

Thus no more Anchor Pattern needed:
http://projects.puppetlabs.com/projects/puppet/wiki/Anchor_Pattern



No comments:

Post a Comment