From 05a6badb848da626b95ccc7d4eab47ab1cb5cf68 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 20 Jan 2013 23:36:01 -0200 Subject: Creating onion::full class --- manifests/personal.pp | 8 -------- manifests/subsystems/onion.pp | 12 ++++++++++++ 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: { } + } + +} -- cgit v1.2.3