aboutsummaryrefslogtreecommitdiffstats
path: root/modules/git
diff options
context:
space:
mode:
Diffstat (limited to 'modules/git')
-rw-r--r--modules/git/manifests/init.pp4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/git/manifests/init.pp b/modules/git/manifests/init.pp
index 98392c90..d5197d02 100644
--- a/modules/git/manifests/init.pp
+++ b/modules/git/manifests/init.pp
@@ -32,6 +32,10 @@ class git {
creates => $name,
}
+ file { "$name/git-daemon-export-ok":
+ ensure => present,
+ requires => Exec["git init --bare $name"]
+ }
}
class client inherits common {