Commit 4725d23a authored by Jerome Charaoui's avatar Jerome Charaoui

modify service subscriptions to avoid needless restarts

parent d3994373
......@@ -296,21 +296,21 @@ class shorewall::base {
hasstatus => true,
hasrestart => true,
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"],
Exec["concat_/var/lib/puppet/modules/shorewall/params"],
Exec["concat_/var/lib/puppet/modules/shorewall/tcdevices"],
Exec["concat_/var/lib/puppet/modules/shorewall/tcrules"],
Exec["concat_/var/lib/puppet/modules/shorewall/tcclasses"],
File["/var/lib/puppet/modules/shorewall/zones"],
File["/var/lib/puppet/modules/shorewall/interfaces"],
File["/var/lib/puppet/modules/shorewall/hosts"],
File["/var/lib/puppet/modules/shorewall/policy"],
File["/var/lib/puppet/modules/shorewall/rules"],
File["/var/lib/puppet/modules/shorewall/masq"],
File["/var/lib/puppet/modules/shorewall/proxyarp"],
File["/var/lib/puppet/modules/shorewall/nat"],
File["/var/lib/puppet/modules/shorewall/blacklist"],
File["/var/lib/puppet/modules/shorewall/rfc1918"],
File["/var/lib/puppet/modules/shorewall/routestopped"],
File["/var/lib/puppet/modules/shorewall/params"],
File["/var/lib/puppet/modules/shorewall/tcdevices"],
File["/var/lib/puppet/modules/shorewall/tcrules"],
File["/var/lib/puppet/modules/shorewall/tcclasses"],
],
require => Package[shorewall],
}
......
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