aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/onion.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/subsystems/onion.pp')
-rw-r--r--manifests/subsystems/onion.pp8
1 files changed, 2 insertions, 6 deletions
diff --git a/manifests/subsystems/onion.pp b/manifests/subsystems/onion.pp
index b190dcf..7d86948 100644
--- a/manifests/subsystems/onion.pp
+++ b/manifests/subsystems/onion.pp
@@ -14,9 +14,7 @@ class onion {
}
}
-class onion::socks {
- include tor::daemon
-
+class onion::socks inherits onion {
# Default tor daemon configuration
tor::daemon::socks { 'socks':
port => 9050,
@@ -24,9 +22,7 @@ class onion::socks {
}
}
-class onion::freenode {
- include tor::daemon
-
+class onion::freenode inherits onion::socks {
# Freenode via Tor
# http://freenode.net/irc_servers.shtml
# http://pthree.org/2010/01/31/freenode-ssl-and-sasl-authentication-with-irssi/