summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2015-04-19 23:17:25 +0200
committermh <mh@immerda.ch>2015-04-19 23:17:25 +0200
commita51a51fe181a7fc6cc1f23e742078cbeed740658 (patch)
tree5d160ab4c81b6fcc61f8355c00f3a198c4795a3d
parent76e6ee3e854f5efd018dedc15af14d62e7f4549e (diff)
make it work with latest concat module
-rw-r--r--manifests/daemon/base.pp6
1 files changed, 2 insertions, 4 deletions
diff --git a/manifests/daemon/base.pp b/manifests/daemon/base.pp
index e687a67..9cfcc50 100644
--- a/manifests/daemon/base.pp
+++ b/manifests/daemon/base.pp
@@ -1,10 +1,7 @@
# extend basic tor things with a snippet based daemon configuration
class tor::daemon::base inherits tor::base {
- # packages, user, group
- Service['tor'] {
- subscribe => File[$tor::daemon::config_file],
- }
+ # packages, user, group
Package[ 'tor' ] {
require => File[$tor::daemon::data_dir],
}
@@ -52,6 +49,7 @@ class tor::daemon::base inherits tor::base {
mode => '0600',
owner => 'debian-tor',
group => 'debian-tor',
+ notify => Service['tor'],
}
# config file headers