]> gitweb.fluxo.info Git - puppet-shorewall.git/commitdiff
fixed variable ordering
authormh <mh@d66ca3ae-40d7-4aa7-90d4-87d79ca94279>
Tue, 20 May 2008 15:12:28 +0000 (15:12 +0000)
committermh <mh@d66ca3ae-40d7-4aa7-90d4-87d79ca94279>
Tue, 20 May 2008 15:12:28 +0000 (15:12 +0000)
git-svn-id: https://svn/ipuppet/trunk/modules/shorewall@1531 d66ca3ae-40d7-4aa7-90d4-87d79ca94279

manifests/init.pp

index 2ec160b8a0e4dc83de850894b63df8d5ad70e70c..19c91455753f03e97a9348eb4dac83d5bd396d22 100644 (file)
@@ -60,11 +60,11 @@ class shorewall {
        
        # private
        define managed_file () {
+        $dir = "/var/lib/puppet/modules/shorewall/${name}.d"
                concatenated_file { "/var/lib/puppet/modules/shorewall/$name":
                        dir => $dir,
                        mode => 0600,
                }
-        $dir = "/var/lib/puppet/modules/shorewall/${name}.d"
                file {
                        "${dir}/000-header":
                                source => "puppet://$server/shorewall/boilerplate/${name}.header",