From e4f36f7f143641eee96fb092d840a7f75e6d13cc Mon Sep 17 00:00:00 2001 From: varac Date: Mon, 13 Jun 2016 20:11:23 +0200 Subject: 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. --- puppet/modules/site_sshd/manifests/mosh.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'puppet/modules/site_sshd/manifests/mosh.pp') 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']; } -- cgit v1.2.3