summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp5
1 files changed, 5 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index fa2285d..bd8943b 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -5,4 +5,9 @@ class tor {
package { [ "tor", "torsocks" ]:
ensure => installed,
}
+
+ service { 'tor':
+ ensure => running,
+ require => Package['tor'],
+ }
}