From: mh Date: Fri, 28 Oct 2011 14:34:46 +0000 (+0200) Subject: decouple things a bit, so we can move it to a own class X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=d401332e0a038fe9fc6cbc44facbf4f38dc0663c;p=puppet-tor.git decouple things a bit, so we can move it to a own class --- 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: