aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/personal.pp8
-rw-r--r--manifests/subsystems/onion.pp12
2 files changed, 12 insertions, 8 deletions
diff --git a/manifests/personal.pp b/manifests/personal.pp
index dfcacb0..849db63 100644
--- a/manifests/personal.pp
+++ b/manifests/personal.pp
@@ -15,14 +15,6 @@ class nodo::personal {
use_nagios => hiera('personal_use_nagios', false),
}
- # Currently tor management just works for debian
- case $operatingsystem {
- debian: {
- include tor::polipo
- }
- default: { }
- }
-
# Misc user data
file { "/var/data":
ensure => directory,
diff --git a/manifests/subsystems/onion.pp b/manifests/subsystems/onion.pp
index 1a5b38d..ee4da16 100644
--- a/manifests/subsystems/onion.pp
+++ b/manifests/subsystems/onion.pp
@@ -33,3 +33,15 @@ class onion::freenode inherits onion::socks {
newaddress => 'p4fsi4ockecnea7l.onion',
}
}
+
+class onion::full inherits onion::freenode {
+
+ # Currently tor management just works for debian
+ case $operatingsystem {
+ debian: {
+ include tor::polipo
+ }
+ default: { }
+ }
+
+}