diff options
-rw-r--r-- | manifests/vserver.pp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/manifests/vserver.pp b/manifests/vserver.pp index a963b9f..29eef59 100644 --- a/manifests/vserver.pp +++ b/manifests/vserver.pp @@ -110,13 +110,13 @@ class nodo::vserver inherits nodo { # Apply firewall rules just for running vservers case $ensure { 'running': { - firewall::router::ssh { "ssh-$name": + firewall::router::ssh { "$name": destination => "192.168.0.$context", - port_orig => "22", - port_dest => "22$id", + port_orig => "22$id", + port_dest => "22", } - firewall::router::munin { "munin-$name": + firewall::router::munin { "$name": destination => "192.168.0.$context", port_orig => "49$id", port_dest => "49$id", |