]> gitweb.fluxo.info Git - puppet-shorewall.git/commitdiff
only manage the config_path if we do not manage the config file
authormh <mh@immerda.ch>
Thu, 28 Feb 2013 19:38:07 +0000 (20:38 +0100)
committermh <mh@immerda.ch>
Sat, 5 Dec 2015 10:33:39 +0000 (11:33 +0100)
manifests/base.pp

index 7959f018a977f003857aeceb795c20b56bc4af95..bde572a6f53ffbc1034bbcc55966a54ad4dc6a30 100644 (file)
@@ -27,15 +27,15 @@ class shorewall::base {
     }
   } else {
 
-  Class['augeas'] -> Class['shorewall::base']
+    Class['augeas'] -> Class['shorewall::base']
 
-  augeas { 'shorewall_module_config_path':
-    changes => 'set /files/etc/shorewall/shorewall.conf/CONFIG_PATH \'"/etc/shorewall/puppet:/etc/shorewall:/usr/share/shorewall"\'',
-    lens    => 'Shellvars.lns',
-    incl    => '/etc/shorewall/shorewall.conf',
-    notify  => Service['shorewall'],
-    require => Package['shorewall'];
-  }
+    augeas { 'shorewall_module_config_path':
+      changes => 'set /files/etc/shorewall/shorewall.conf/CONFIG_PATH \'"/etc/shorewall/puppet:/etc/shorewall:/usr/share/shorewall"\'',
+      lens    => 'Shellvars.lns',
+      incl    => '/etc/shorewall/shorewall.conf',
+      notify  => Service['shorewall'],
+      require => Package['shorewall'];
+    }
   }
 
   service{'shorewall':