aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <dev@blino.org>2017-04-15 23:59:02 +0200
committerOlivier Blin <dev@blino.org>2017-04-15 23:59:02 +0200
commitb1c24769eff463b39c0a133f87d9f8e6fa7cc315 (patch)
tree59b15b6cc0627eb4b630abf7619b80629e02fdb4
parent169ded64a7edcaf9513f1771f3798520be85b79d (diff)
downloadpuppet-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
-rw-r--r--modules/gitmirror/manifests/init.pp7
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'),
}