diff options
author | Micah Anderson <micah@leap.se> | 2013-09-03 14:47:09 -0400 |
---|---|---|
committer | Micah Anderson <micah@leap.se> | 2013-09-04 10:45:20 -0400 |
commit | 9544d1a4c8e3dfa11ba611b296a3e47edde0e67f (patch) | |
tree | 1b7366b67dd0f813d5bbdafb034d187b2321f96c /puppet/modules/site_shorewall | |
parent | 042310874c13ee2901c73d36a5f743f69520c6f3 (diff) |
make sure that the shorewall package is installed before trying to change its configuration file (#3701)
Change-Id: Ib2dad30d53e5bf7539762eb3683430b10eb875ed
Diffstat (limited to 'puppet/modules/site_shorewall')
-rw-r--r-- | puppet/modules/site_shorewall/manifests/defaults.pp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/puppet/modules/site_shorewall/manifests/defaults.pp b/puppet/modules/site_shorewall/manifests/defaults.pp index 35e47982..6a40d501 100644 --- a/puppet/modules/site_shorewall/manifests/defaults.pp +++ b/puppet/modules/site_shorewall/manifests/defaults.pp @@ -51,12 +51,14 @@ class site_shorewall::defaults { changes => 'set /files/etc/shorewall/shorewall.conf/SAFESTOP Yes', lens => 'Shellvars.lns', incl => '/etc/shorewall/shorewall.conf', + require => Package['shorewall'], notify => Service[shorewall]; # require that the interface exist 'shorewall_REQUIRE_INTERFACE': changes => 'set /files/etc/shorewall/shorewall.conf/REQUIRE_INTERFACE Yes', lens => 'Shellvars.lns', incl => '/etc/shorewall/shorewall.conf', + require => Package['shorewall'], notify => Service[shorewall]; # configure shorewall-init 'shorewall-init': |