aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2011-10-28 16:34:46 +0200
committermh <mh@immerda.ch>2011-10-28 16:34:46 +0200
commitd401332e0a038fe9fc6cbc44facbf4f38dc0663c (patch)
tree1a85d52e3c6c4e793ddce621bdb48823f51da924 /manifests
parent9f88bf5b8873d1174e4dc537142bccd98b3e35b2 (diff)
downloadpuppet-tor-d401332e0a038fe9fc6cbc44facbf4f38dc0663c.tar.gz
puppet-tor-d401332e0a038fe9fc6cbc44facbf4f38dc0663c.tar.bz2
decouple things a bit, so we can move it to a own class
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp3
1 files changed, 2 insertions, 1 deletions
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: