aboutsummaryrefslogtreecommitdiffstats
path: root/modules/gitmirror/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gitmirror/manifests/init.pp')
-rw-r--r--modules/gitmirror/manifests/init.pp13
1 files changed, 13 insertions, 0 deletions
diff --git a/modules/gitmirror/manifests/init.pp b/modules/gitmirror/manifests/init.pp
new file mode 100644
index 00000000..4ab44c0a
--- /dev/null
+++ b/modules/gitmirror/manifests/init.pp
@@ -0,0 +1,13 @@
+class gitmirror {
+ mga_common::local_script { 'on-the-pull':
+ content => template('gitmirror/on-the-pull'),
+ }
+ file { '/etc/init.d/on-the-pull':
+ content => template('gitmirror/on-the-pull.init'),
+ mode => 755,
+ }
+
+ mga_common::local_script { 'gitmirror-sync-metadata':
+ content => template('gitmirror/rsync-metadata.sh'),
+ }
+}