]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Fixing resource name and parameter order
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 9 Aug 2011 18:38:57 +0000 (15:38 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 9 Aug 2011 18:38:57 +0000 (15:38 -0300)
manifests/vserver.pp

index a963b9f08b99c0596d79863e611eccbafe16a415..29eef599a9202b38e9a29341b0dfcd2097464712 100644 (file)
@@ -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",