Commit 86d81d32 authored by mh's avatar mh

added a new try for shorewall subscription

git-svn-id: https://svn/ipuppet/trunk/modules/shorewall@834 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
parent 54cebcdb
......@@ -32,19 +32,19 @@ class shorewall {
service { shorewall:
ensure => running,
enable => true,
# subscribe => [
# Exec[concat_zones],
# Exec[concat_interfaces],
# Exec[concat_hosts],
# Exec[concat_policy],
# Exec[concat_rules],
# Exec[concat_masq],
# Exec[concat_proxyarp],
# Exec[concat_nat],
# Exec[concat_blacklist],
# Exec[concat_rfc1918],
# Exec[concat_routestopped]
# ],
subscribe => [
Exec["concat_/var/lib/puppet/modules/shorewall/zones],
Exec["concat_/var/lib/puppet/modules/shorewall/interfaces],
Exec["concat_/var/lib/puppet/modules/shorewall/hosts],
Exec["concat_/var/lib/puppet/modules/shorewall/policy],
Exec["concat_/var/lib/puppet/modules/shorewall/rules],
Exec["concat_/var/lib/puppet/modules/shorewall/masq],
Exec["concat_/var/lib/puppet/modules/shorewall/proxyarp],
Exec["concat_/var/lib/puppet/modules/shorewall/nat],
Exec["concat_/var/lib/puppet/modules/shorewall/blacklist],
Exec["concat_/var/lib/puppet/modules/shorewall/rfc1918],
Exec["concat_/var/lib/puppet/modules/shorewall/routestopped]
],
}
file {
......@@ -58,11 +58,10 @@ class shorewall {
define managed_file () {
$dir = "/var/lib/puppet/modules/shorewall/${name}.d"
file {
"${dir}":
ensure => directory,
force => true,
mode => 0755, owner => root, group => 0;
file {"${dir}":
ensure => directory,
force => true,
mode => 0755, owner => root, group => 0;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment