Skip to content

Commit 26d2dc2

Browse files
committed
Remove anchor in favour of contain
1 parent 312131f commit 26d2dc2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

manifests/init.pp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,11 @@
7676
fail("Module is not compatible with ${facts['os']['name']}")
7777
}
7878

79-
# Anchor pattern to contain dependencies
80-
anchor { 'python::begin': }
81-
-> class { 'python::install': }
82-
-> class { 'python::config': }
83-
-> anchor { 'python::end': }
79+
contain python::install
80+
contain python::config
81+
82+
Class['python::install']
83+
-> Class['python::config']
8484

8585
# Set default umask.
8686
if $umask != undef {

0 commit comments

Comments
 (0)