summaryrefslogtreecommitdiff
path: root/puppet/modules/site_sshd
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2016-06-13 20:11:23 +0200
committervarac <varacanero@zeromail.org>2016-07-13 10:46:05 +0200
commitf3f78ebaf5f3fd3233bc35596fefb51f6e5ed9d9 (patch)
tree90a44411984d19a4eb27449dc97e25d5b5192222 /puppet/modules/site_sshd
parentc99cf0deacd79985d209d57f2f6ffe80cbf9b182 (diff)
Notify Exec[shorewall_check] not Service[shorew..]
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_sshd')
-rw-r--r--puppet/modules/site_sshd/manifests/mosh.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/puppet/modules/site_sshd/manifests/mosh.pp b/puppet/modules/site_sshd/manifests/mosh.pp
index 49f56ca0..5282d239 100644
--- a/puppet/modules/site_sshd/manifests/mosh.pp
+++ b/puppet/modules/site_sshd/manifests/mosh.pp
@@ -1,3 +1,4 @@
+# setup mosh on server
class site_sshd::mosh ( $ensure = present, $ports = '60000-61000' ) {
package { 'mosh':
@@ -7,7 +8,7 @@ class site_sshd::mosh ( $ensure = present, $ports = '60000-61000' ) {
file { '/etc/shorewall/macro.mosh':
ensure => $ensure,
content => "PARAM - - udp ${ports}",
- notify => Service['shorewall'],
+ notify => Exec['shorewall_check'],
require => Package['shorewall'];
}