diff options
author | Micah Anderson <micah@leap.se> | 2013-09-03 10:54:28 -0400 |
---|---|---|
committer | Micah Anderson <micah@leap.se> | 2013-09-03 10:54:35 -0400 |
commit | 53244ecd2e31599379b5ee12fd5a95603f565191 (patch) | |
tree | 8c0c09c3d0edd8b094220faa0bdf72702eacde9e /puppet/modules/site_config/manifests | |
parent | 8d69a43fe97079f9595ed460bfa36c4bfd6cb0a8 (diff) |
require that shorewall has been installed before execs are run (#3339)
Change-Id: Iae2b1cacd64565931cef77194a733aeae681efaf
Diffstat (limited to 'puppet/modules/site_config/manifests')
-rw-r--r-- | puppet/modules/site_config/manifests/initial_firewall.pp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/puppet/modules/site_config/manifests/initial_firewall.pp b/puppet/modules/site_config/manifests/initial_firewall.pp index b9fc5ffe..36a556e4 100644 --- a/puppet/modules/site_config/manifests/initial_firewall.pp +++ b/puppet/modules/site_config/manifests/initial_firewall.pp @@ -51,12 +51,14 @@ class site_config::initial_firewall { command => '/sbin/iptables-restore < /etc/network/ipv4firewall_up.rules', logoutput => true, unless => '/sbin/shorewall status', - require => File['/etc/network/ipv4firewall_up.rules']; + require => [ Package['shorewall'], + File['/etc/network/ipv4firewall_up.rules'] ]; 'default_ipv6_firewall': command => '/sbin/ip6tables-restore < /etc/network/ipv6firewall_up.rules', logoutput => true, unless => '/sbin/shorewall status', - require => File['/etc/network/ipv6firewall_up.rules']; + require => [ Package['shorewall'], + File['/etc/network/ipv6firewall_up.rules']; } } |