Skip to content

Commit da63d55

Browse files
committed
(MODULES-11053) Add a note about the contains method
1 parent 09a9b97 commit da63d55

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/puppet/type/anchor.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
@summary
66
A simple resource type intended to be used as an anchor in a composite class.
77
8+
> Note: this has been replaced by core puppet `contain()` method. Please see https://puppet.com/docs/puppet/latest/lang_containment.html for more information.
9+
810
In Puppet 2.6, when a class declares another class, the resources in the
911
interior class are not contained by the exterior class. This interacts badly
1012
with the pattern of composing complex modules from smaller classes, as it

0 commit comments

Comments
 (0)