summaryrefslogtreecommitdiff
path: root/puppet/modules/site_shorewall/manifests/soledad.pp
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2016-06-13 20:11:23 +0200
committervarac <varacanero@zeromail.org>2016-06-14 23:19:20 +0200
commite4f36f7f143641eee96fb092d840a7f75e6d13cc (patch)
tree3114f59c62931f164aa412a08d37e6f8ace12395 /puppet/modules/site_shorewall/manifests/soledad.pp
parente9889220fa4107ee01efd38cf03f27ffc85d80fb (diff)
Notify Exec[shorewall_check] not Service[shorew..]gitsubrepo
Latest shorewall module does `shorewall check` (executed by `Exec[shorewall_check]`) so every related resource change must notify this Exec instead of `Service[shorewall]` as before.
Diffstat (limited to 'puppet/modules/site_shorewall/manifests/soledad.pp')
-rw-r--r--puppet/modules/site_shorewall/manifests/soledad.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/puppet/modules/site_shorewall/manifests/soledad.pp b/puppet/modules/site_shorewall/manifests/soledad.pp
index 518d8689..5bee07af 100644
--- a/puppet/modules/site_shorewall/manifests/soledad.pp
+++ b/puppet/modules/site_shorewall/manifests/soledad.pp
@@ -1,3 +1,4 @@
+# Setup soledad server
class site_shorewall::soledad {
$soledad = hiera('soledad')
@@ -8,7 +9,7 @@ class site_shorewall::soledad {
# define macro for incoming services
file { '/etc/shorewall/macro.leap_soledad':
content => "PARAM - - tcp ${soledad_port}",
- notify => Service['shorewall'],
+ notify => Exec['shorewall_check'],
require => Package['shorewall']
}