diff options
-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'), } |