diff options
author | Jan Dittberner <jandd@cacert.org> | 2018-04-14 20:12:00 +0200 |
---|---|---|
committer | Jan Dittberner <jandd@cacert.org> | 2018-04-14 20:12:00 +0200 |
commit | 72445dce9b75e54c3f656dd47a091b2a4f8806d3 (patch) | |
tree | db725374a7388ddd588fed3631cbf3ebb91f34c1 /sitemodules/profiles/manifests/puppet_server.pp | |
parent | 24598d180b41e324da9f686fc0b3763b91add4bc (diff) | |
download | cacert-puppet-72445dce9b75e54c3f656dd47a091b2a4f8806d3.tar.gz cacert-puppet-72445dce9b75e54c3f656dd47a091b2a4f8806d3.tar.xz cacert-puppet-72445dce9b75e54c3f656dd47a091b2a4f8806d3.zip |
Restart git-pull-hook on changes to itself and its configuration
Diffstat (limited to 'sitemodules/profiles/manifests/puppet_server.pp')
-rw-r--r-- | sitemodules/profiles/manifests/puppet_server.pp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sitemodules/profiles/manifests/puppet_server.pp b/sitemodules/profiles/manifests/puppet_server.pp index 0730112..eb7a4bb 100644 --- a/sitemodules/profiles/manifests/puppet_server.pp +++ b/sitemodules/profiles/manifests/puppet_server.pp @@ -76,9 +76,10 @@ class profiles::puppet_server ( } service { 'git-pull-hook': - ensure => running, - enable => true, - require => [ + ensure => running, + enable => true, + subscribe => [File['/etc/git-pull-hook.ini'], File['/usr/local/sbin/git-pull-hook']], + require => [ File['/etc/init.d/git-pull-hook'], File['/usr/local/sbin/git-pull-hook'], File['/etc/git-pull-hook.ini'], ], |