aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2012-12-11 18:42:15 -0500
committerMicah Anderson <micah@riseup.net>2012-12-11 18:42:15 -0500
commite511291a111db7a7d88a8820c5423aa5b92304e0 (patch)
tree5787291ab9545ba3a99c4af4f9c803f75ca926b6 /manifests
parent29e80fe61983821dc50ea54a05013c351206d5bd (diff)
downloadpuppet-shorewall-e511291a111db7a7d88a8820c5423aa5b92304e0.tar.gz
puppet-shorewall-e511291a111db7a7d88a8820c5423aa5b92304e0.tar.bz2
Because the puppet shorewall module uses concat::fragment assembly to put the
final results in /etc/shorewall/puppet, we have to make sure the shorewall.conf is pointing to that directory to get those configurations. This commit fixes that.
Diffstat (limited to 'manifests')
-rw-r--r--manifests/base.pp7
1 files changed, 7 insertions, 0 deletions
diff --git a/manifests/base.pp b/manifests/base.pp
index 7dd025f..537c2a6 100644
--- a/manifests/base.pp
+++ b/manifests/base.pp
@@ -15,6 +15,13 @@ class shorewall::base {
owner => root, group => 0, mode => 0644;
}
+ 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];
+ }
+
service{shorewall:
ensure => running,
enable => true,