From 10917bcdaa1194f82604f9e34ab89f8f6ee018cb Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 20 Jan 2013 23:22:22 -0200 Subject: Including tor::daemon instead of inheritance --- manifests/subsystems/onion.pp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'manifests') diff --git a/manifests/subsystems/onion.pp b/manifests/subsystems/onion.pp index 85ec4da..b190dcf 100644 --- a/manifests/subsystems/onion.pp +++ b/manifests/subsystems/onion.pp @@ -14,7 +14,9 @@ class onion { } } -class onion::socks inherits tor::daemon { +class onion::socks { + include tor::daemon + # Default tor daemon configuration tor::daemon::socks { 'socks': port => 9050, @@ -22,7 +24,9 @@ class onion::socks inherits tor::daemon { } } -class onion::freenode inherits tor::daemon { +class onion::freenode { + include tor::daemon + # 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