summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/clone.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/clone.pp b/manifests/clone.pp
index bfc8082..1d6a298 100644
--- a/manifests/clone.pp
+++ b/manifests/clone.pp
@@ -22,7 +22,7 @@ define git::clone(
notify => Exec["git-clone-chown_${name}"],
}
exec {"git-clone-chown_${name}":
- command => "chown -R ${cloneddir_user}:${cloneddir_group} ${projectroot}",
+ command => "chown -R ${cloneddir_user}:${cloneddir_group} ${projectroot};chmod -R og-rwx ${projectroot}/.git",
refreshonly => true
}
if $cloneddir_restrict_mode {