diff options
author | mh <mh@immerda.ch> | 2013-02-28 20:38:07 +0100 |
---|---|---|
committer | mh <mh@immerda.ch> | 2015-12-05 11:33:39 +0100 |
commit | a4f0b91e9418af052cf269aef02b0b4db719ae02 (patch) | |
tree | 42e7b5aa325f38ad512f9251f93a64408ca8dd1d | |
parent | 315060cd357d6dffbb32e44ca1eb02ce3711608a (diff) | |
download | puppet-shorewall-a4f0b91e9418af052cf269aef02b0b4db719ae02.tar.gz puppet-shorewall-a4f0b91e9418af052cf269aef02b0b4db719ae02.tar.bz2 |
only manage the config_path if we do not manage the config file
-rw-r--r-- | manifests/base.pp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/manifests/base.pp b/manifests/base.pp index 7959f01..bde572a 100644 --- a/manifests/base.pp +++ b/manifests/base.pp @@ -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': |