summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/init.pp9
1 files changed, 5 insertions, 4 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 4797b11..65a7e66 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -53,9 +53,10 @@ class python (
fail("Module is not compatible with ${::operatingsystem}")
}
- Class['python::install'] -> Class['python::config']
-
- include python::install
- include python::config
+ # Anchor pattern to contain dependencies
+ anchor { 'python::begin': } ->
+ class { 'python::install': } ->
+ class { 'python::config': } ->
+ anchor { 'python::end': }
}