From d7099ae3c2e9ad9c63bec0dda7df22848585f29a Mon Sep 17 00:00:00 2001 From: Don Reilly Date: Thu, 3 Jul 2014 15:41:41 -0500 Subject: Changed order pattern in init.pp to support the Anchor pattern to contain dependencies. See bug #8040 https://projects.puppetlabs.com/issues/8040 --- manifests/init.pp | 9 +++++---- 1 file 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': } } -- cgit v1.2.3