aboutsummaryrefslogtreecommitdiff
path: root/manifests/vserver.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-07-07 10:03:25 -0300
committerSilvio Rhatto <rhatto@riseup.net>2012-07-07 10:03:25 -0300
commitbaa322413918d0ea989ebdaf9c5de64f030794cc (patch)
tree410da0746c2dab4588fb8d57243c842107720ac9 /manifests/vserver.pp
parentb9b9be9d70a98eb36f22b50bb1f29235f836c6bc (diff)
downloadpuppet-nodo-baa322413918d0ea989ebdaf9c5de64f030794cc.tar.gz
puppet-nodo-baa322413918d0ea989ebdaf9c5de64f030794cc.tar.bz2
Adding yacy routing to vserver
Diffstat (limited to 'manifests/vserver.pp')
-rw-r--r--manifests/vserver.pp8
1 files changed, 7 insertions, 1 deletions
diff --git a/manifests/vserver.pp b/manifests/vserver.pp
index 02cb102..aa864ed 100644
--- a/manifests/vserver.pp
+++ b/manifests/vserver.pp
@@ -48,7 +48,7 @@ class nodo::vserver inherits nodo {
$icecast = false, $sound = false, $tor = false,
$ticket = false, $memory_limit = false, $distro = 'squeeze',
$dns = false, $munin_port = false, $monkeysphere_ssh_port = false,
- $jabber = false, $mumble = false, $gobby = false) {
+ $jabber = false, $mumble = false, $gobby = false, $yacy = false) {
# set instance id
if $context <= 9 {
@@ -217,6 +217,12 @@ class nodo::vserver inherits nodo {
"firewall::vserver::gobby": destination => "192.168.0.$context";
}
}
+
+ if $yacy {
+ class {
+ "firewall::vserver::yacy": destination => "192.168.0.$context";
+ }
+ }
}
}
}