diff options
Diffstat (limited to 'manifests/vserver.pp')
-rw-r--r-- | manifests/vserver.pp | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/manifests/vserver.pp b/manifests/vserver.pp index 99a8481..938903a 100644 --- a/manifests/vserver.pp +++ b/manifests/vserver.pp @@ -47,7 +47,8 @@ class nodo::vserver inherits nodo { $puppetmaster = false, $gitd = false, $mail = false, $icecast = false, $sound = false, $tor = false, $ticket = false, $memory_limit = false, $distro = 'squeeze', - $dns = false, $munin_port = false, $monkeysphere_ssh_port = false) { + $dns = false, $munin_port = false, $monkeysphere_ssh_port = false, + $jabber = false, $mumble = false) { # set instance id if $context <= 9 { @@ -198,6 +199,18 @@ class nodo::vserver inherits nodo { "firewall::vserver::tor": destination => "192.168.0.$context"; } } + + if $jabber { + class { + "firewall::vserver::jabber": destination => "192.168.0.$context"; + } + } + + if $mumble { + class { + "firewall::vserver::mumble": destination => "192.168.0.$context"; + } + } } } } |