Skip to content

Commit 62ef656

Browse files
committed
Update the Anchor pattern workaround
Add a step to the anchor pattern and add comment to clarify the need of this workaround. Ref : http://docs.puppetlabs.com/puppet/2.7/reference/lang_containment.html#known-issues
1 parent e7c26a1 commit 62ef656

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

manifests/client.pp

+3
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@
2020
anchor { 'mysql::client::start': }
2121
anchor { 'mysql::client::end': }
2222

23+
# Anchor pattern workaround to avoid resources of mysql::client::install
24+
# to "float off" outside mysql::client
2325
Anchor['mysql::client::start'] ->
26+
Class['mysql::client'] ->
2427
Class['mysql::client::install'] ->
2528
Anchor['mysql::client::end']
2629

0 commit comments

Comments
 (0)