From: Silvio Rhatto Date: Mon, 21 Jan 2013 01:36:01 +0000 (-0200) Subject: Creating onion::full class X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=05a6badb848da626b95ccc7d4eab47ab1cb5cf68;p=puppet-nodo.git Creating onion::full class --- 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: { } + } + +}