From 61504752fe9af00e93bf120a24ca57ef42abbe7e Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 20 Jan 2013 23:25:55 -0200 Subject: Changing inheritance of onion classes --- manifests/subsystems/onion.pp | 8 ++------ 1 file 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/ -- cgit v1.2.3