]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Creating onion::full class
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 21 Jan 2013 01:36:01 +0000 (23:36 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 21 Jan 2013 01:36:01 +0000 (23:36 -0200)
manifests/personal.pp
manifests/subsystems/onion.pp

index dfcacb0eb8648ca29239874c3f26ba8ac070bc8b..849db6340ec279024ff33875007bcde387a28f3c 100644 (file)
@@ -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,
index 1a5b38df331d31164de9698bc9a47b94f18e30e2..ee4da1604238caf9e6e0d918c82ee12dbaddfde1 100644 (file)
@@ -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: { }
+  }
+
+}