aboutsummaryrefslogtreecommitdiff
path: root/manifests/vserver.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-06-08 09:57:12 -0300
committerSilvio Rhatto <rhatto@riseup.net>2012-06-08 09:57:12 -0300
commitd86ab1f83be4574658cb4543e34093ace85e36a3 (patch)
tree7d5406032b523ab4ff6b0024ed3053cb05279a55 /manifests/vserver.pp
parente223a17e68b7d7daa854c6078c4ef906a80f3542 (diff)
downloadpuppet-nodo-d86ab1f83be4574658cb4543e34093ace85e36a3.tar.gz
puppet-nodo-d86ab1f83be4574658cb4543e34093ace85e36a3.tar.bz2
Adding gobby server routing for vservers
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 938903a..02cb102 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) {
+ $jabber = false, $mumble = false, $gobby = false) {
# set instance id
if $context <= 9 {
@@ -211,6 +211,12 @@ class nodo::vserver inherits nodo {
"firewall::vserver::mumble": destination => "192.168.0.$context";
}
}
+
+ if $gobby {
+ class {
+ "firewall::vserver::gobby": destination => "192.168.0.$context";
+ }
+ }
}
}
}