and onionbalance module
[mirror/dsa-puppet.git] / modules / roles / manifests / init.pp
index e535a62..5efac97 100644 (file)
@@ -351,4 +351,15 @@ class roles {
        if has_role('ports-master') {
                include roles::ports-master
        }
+
+       if $::hostname in [klecker] {
+               onion::service { 'ftp.debian.org':
+                       port => 80,
+                       target_address => '130.89.148.12',
+                       target_port => 81,
+               }
+       }
+       if $::hostname in [olin] {
+               onion::balance_service { 'ftp.debian.org': }
+       }
 }