From: Peter Palfrader Date: Thu, 17 Dec 2015 15:53:27 +0000 (+0100) Subject: repro needs a restart to reload the cert X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=8eac1ebc29a924fb6659027cc692713007acf613;p=mirror%2Fdsa-puppet.git repro needs a restart to reload the cert --- diff --git a/modules/roles/manifests/rtc.pp b/modules/roles/manifests/rtc.pp index 11723441e..40cc28879 100644 --- a/modules/roles/manifests/rtc.pp +++ b/modules/roles/manifests/rtc.pp @@ -2,7 +2,7 @@ class roles::rtc { ssl::service { 'www.debian.org': tlsaport => 0, - notify => Exec['service repro reload'], + notify => Service['repro'], } ssl::service { 'sip-ws.debian.org': @@ -91,9 +91,7 @@ class roles::rtc { ensure => absent, } - exec { 'service repro reload': - path => '/usr/bin:/usr/sbin:/bin:/sbin', - command => 'service repro reload', - refreshonly => true, + service { 'repro': + ensure => running, } }