diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-08-09 15:38:57 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-08-09 15:38:57 -0300 |
commit | df6c6d4935b5a7082336594dd32e52402815d1a5 (patch) | |
tree | 8ec81c04cdffc98413ed5c6353ba2d94954004c9 /manifests | |
parent | 69b6037ee16bdccb443ae3ac822f477ee2963d29 (diff) | |
download | puppet-nodo-df6c6d4935b5a7082336594dd32e52402815d1a5.tar.gz puppet-nodo-df6c6d4935b5a7082336594dd32e52402815d1a5.tar.bz2 |
Fixing resource name and parameter order
Diffstat (limited to 'manifests')
-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", |