]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
Reload systemd defs if the stunnel4 init script changes
authorTollef Fog Heen <tfheen@err.no>
Mon, 6 Apr 2015 17:47:33 +0000 (19:47 +0200)
committerTollef Fog Heen <tfheen@err.no>
Mon, 6 Apr 2015 17:47:33 +0000 (19:47 +0200)
modules/stunnel4/manifests/init.pp

index 6d5c4e4b26e60dc61ac974c7e0f9d65de8916663..fc6c9af0a8b0e1efeff7d638126852a569c558f6 100644 (file)
@@ -11,6 +11,7 @@ class stunnel4 {
        file { '/etc/init.d/stunnel4':
                source => 'puppet:///modules/stunnel4/etc-init.d-stunnel4',
                mode   => '0555',
+               notify => Exec['systemctl daemon-reload'],
        }
        file { '/etc/stunnel/stunnel.conf':
                ensure  => absent,