aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-08-09 15:00:39 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-08-09 15:00:39 -0300
commitfd11f36e56692e3dd25769282d752bec12296b19 (patch)
treeeceaa59e32c11cca93e7bdd0c78fc6b8b905852e
parentd0ee197f022bc877b457d0e139f63bf6be401eb5 (diff)
downloadpuppet-nodo-fd11f36e56692e3dd25769282d752bec12296b19.tar.gz
puppet-nodo-fd11f36e56692e3dd25769282d752bec12296b19.tar.bz2
Fixing resource naming for firewall rules
-rw-r--r--manifests/vserver.pp4
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",