summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp13
1 files changed, 2 insertions, 11 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index c620718..3653c89 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -1,19 +1,10 @@
+# manage a basic tor installation
class tor (
$ensure_version = 'installed',
$use_munin = false
){
- package { [ 'tor', 'tor-geoipdb' ]:
- ensure => $ensure_version,
- }
-
- service { 'tor':
- ensure => running,
- enable => true,
- hasrestart => true,
- hasstatus => true,
- require => Package['tor'],
- }
+ include tor::base
if $use_munin {
include tor::munin