diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-08-09 15:00:39 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-08-09 15:00:39 -0300 |
commit | fd11f36e56692e3dd25769282d752bec12296b19 (patch) | |
tree | eceaa59e32c11cca93e7bdd0c78fc6b8b905852e | |
parent | d0ee197f022bc877b457d0e139f63bf6be401eb5 (diff) | |
download | puppet-nodo-fd11f36e56692e3dd25769282d752bec12296b19.tar.gz puppet-nodo-fd11f36e56692e3dd25769282d752bec12296b19.tar.bz2 |
Fixing resource naming for firewall rules
-rw-r--r-- | manifests/vserver.pp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/vserver.pp b/manifests/vserver.pp index 1e48475..a963b9f 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": + firewall::router::ssh { "ssh-$name": destination => "192.168.0.$context", port_orig => "22", port_dest => "22$id", } - firewall::router::munin { "munin": + firewall::router::munin { "munin-$name": destination => "192.168.0.$context", port_orig => "49$id", port_dest => "49$id", |