diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-01-20 23:36:01 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-01-20 23:36:01 -0200 |
commit | 05a6badb848da626b95ccc7d4eab47ab1cb5cf68 (patch) | |
tree | 29643e101435311fd6bb774c72d33f13d1db109b | |
parent | 22f8b5505565836be9b30019c1e6b2a5985afe46 (diff) | |
download | puppet-nodo-05a6badb848da626b95ccc7d4eab47ab1cb5cf68.tar.gz puppet-nodo-05a6badb848da626b95ccc7d4eab47ab1cb5cf68.tar.bz2 |
Creating onion::full class
-rw-r--r-- | manifests/personal.pp | 8 | ||||
-rw-r--r-- | 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: { } + } + +} |