summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2012-03-11 15:53:30 -0400
committerMicah Anderson <micah@riseup.net>2012-03-11 16:05:34 -0400
commit97257b64c83561d6b3e621cccf9563af17ef1fc3 (patch)
tree46c9b2353f0056ad24d14fb340ab3796b3453ac1 /manifests/init.pp
parentda59385e711976614d47a88cf607edda98900e75 (diff)
add additional service params to the tor service, this allows for a more graceful reload action to happen on config file change, rather than the restart
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp3
1 files changed, 3 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index bd8943b..c8ac5f3 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -8,6 +8,9 @@ class tor {
service { 'tor':
ensure => running,
+ enable => true,
+ hasrestart => true,
+ hasstatus => true,
require => Package['tor'],
}
}