Skip to content

Commit 81dd738

Browse files
author
sanfrancrisko
authored
Merge pull request #1184 from puppetlabs/DavidS-patch-1
(MODULES-11053) Add a note about the contains method
2 parents 09a9b97 + da63d55 commit 81dd738

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)