diff options
author | Olivier Blin <dev@blino.org> | 2017-04-15 23:59:02 +0200 |
---|---|---|
committer | Olivier Blin <dev@blino.org> | 2017-04-15 23:59:02 +0200 |
commit | b1c24769eff463b39c0a133f87d9f8e6fa7cc315 (patch) | |
tree | 59b15b6cc0627eb4b630abf7619b80629e02fdb4 /modules | |
parent | 169ded64a7edcaf9513f1771f3798520be85b79d (diff) | |
download | puppet-b1c24769eff463b39c0a133f87d9f8e6fa7cc315.tar puppet-b1c24769eff463b39c0a133f87d9f8e6fa7cc315.tar.gz puppet-b1c24769eff463b39c0a133f87d9f8e6fa7cc315.tar.bz2 puppet-b1c24769eff463b39c0a133f87d9f8e6fa7cc315.tar.xz puppet-b1c24769eff463b39c0a133f87d9f8e6fa7cc315.zip |
gitmirror: declare on-the-pull service to ensure it is running
Diffstat (limited to 'modules')
-rw-r--r-- | modules/gitmirror/manifests/init.pp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/gitmirror/manifests/init.pp b/modules/gitmirror/manifests/init.pp index 1cff535b..9a7559f7 100644 --- a/modules/gitmirror/manifests/init.pp +++ b/modules/gitmirror/manifests/init.pp @@ -35,6 +35,13 @@ class gitmirror { mode => '0755', } + service { 'on-the-pull': + require => [ + Mga_common::Local_script["on-the-pull"], + File['/etc/init.d/on-the-pull'], + ], + } + mga_common::local_script { 'gitmirror-sync-metadata': content => template('gitmirror/rsync-metadata.sh'), } |