From 8eac1ebc29a924fb6659027cc692713007acf613 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Thu, 17 Dec 2015 16:53:27 +0100 Subject: [PATCH] repro needs a restart to reload the cert --- modules/roles/manifests/rtc.pp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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, } } -- 2.20.1