From 9544d1a4c8e3dfa11ba611b296a3e47edde0e67f Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Tue, 3 Sep 2013 14:47:09 -0400 Subject: make sure that the shorewall package is installed before trying to change its configuration file (#3701) Change-Id: Ib2dad30d53e5bf7539762eb3683430b10eb875ed --- puppet/modules/site_shorewall/manifests/defaults.pp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'puppet/modules/site_shorewall/manifests') 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': -- cgit v1.2.3