diff options
author | Don Reilly <don.reilly@q2ebanking.com> | 2014-07-03 15:41:41 -0500 |
---|---|---|
committer | Don Reilly <don.reilly@q2ebanking.com> | 2014-07-03 15:41:41 -0500 |
commit | d7099ae3c2e9ad9c63bec0dda7df22848585f29a (patch) | |
tree | 4933c44ce8801d0e075fa96a8783eb717cc907c0 | |
parent | ecc4f46b6992d090250fc977bf1ec739e2a829f5 (diff) |
Changed order pattern in init.pp to support the Anchor pattern to contain dependencies.
See bug #8040 https://projects.puppetlabs.com/issues/8040
-rw-r--r-- | manifests/init.pp | 9 |
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': } } |