reload repro when www.debian.org cert changes
authorPeter Palfrader <peter@palfrader.org>
Thu, 17 Dec 2015 15:49:18 +0000 (16:49 +0100)
committerPeter Palfrader <peter@palfrader.org>
Thu, 17 Dec 2015 15:49:18 +0000 (16:49 +0100)
modules/roles/manifests/rtc.pp

index 4a9a303..1172344 100644 (file)
@@ -2,6 +2,7 @@ class roles::rtc {
 
        ssl::service { 'www.debian.org':
                tlsaport => 0,
+               notify  => Exec['service repro reload'],
        }
 
        ssl::service { 'sip-ws.debian.org':
@@ -89,4 +90,10 @@ class roles::rtc {
        file { '/etc/monit/monit.d/50rtc':
                ensure  => absent,
        }
+
+       exec { 'service repro reload':
+               path        => '/usr/bin:/usr/sbin:/bin:/sbin',
+               command     => 'service repro reload',
+               refreshonly => true,
+       }
 }