From d401332e0a038fe9fc6cbc44facbf4f38dc0663c Mon Sep 17 00:00:00 2001 From: mh Date: Fri, 28 Oct 2011 16:34:46 +0200 Subject: decouple things a bit, so we can move it to a own class --- manifests/init.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/manifests/init.pp b/manifests/init.pp index 8796a73..77896d6 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -5,7 +5,7 @@ class tor { service { "tor": ensure => running, - require => [ Package['tor'], Service["polipo"] ], + require => Package['tor'], } service { "polipo": @@ -20,6 +20,7 @@ class tor { source => "puppet:///modules/tor/polipo.conf", require => Package["polipo"], notify => Service["polipo"], + before => Service["tor"], } # TODO: restore file to original state after the following bug is solved: -- cgit v1.2.3