From 047c6fbffc1816e4e7fe1462d35da7e948bc3fb2 Mon Sep 17 00:00:00 2001 From: Timo Goebel Date: Sat, 18 Mar 2017 17:44:11 +0100 Subject: [PATCH] refresh services when certs change This commits adds code to refresh services when certs change. Previously, this has been done in puppet-certs module. --- manifests/init.pp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/manifests/init.pp b/manifests/init.pp index 719d6e17..a2145cef 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -169,6 +169,8 @@ class { '::certs::foreman': } Exec['cpinit'] -> Exec['foreman-rake-db:seed'] + Class['certs::candlepin'] ~> Service['tomcat'] + Class['certs::qpid'] ~> Service['qpidd'] User<|title == apache|>{groups +> $user_groups} }