aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/gitolite.pp3
1 files changed, 3 insertions, 0 deletions
diff --git a/manifests/gitolite.pp b/manifests/gitolite.pp
index 01e0f3e..19474df 100644
--- a/manifests/gitolite.pp
+++ b/manifests/gitolite.pp
@@ -41,6 +41,8 @@ class gitolite inherits git {
}
# alters the user's home dir
+ # set '*' on password field to avoid this issue:
+ # https://stackoverflow.com/questions/15664561/ssh-key-asks-for-password/15761971#15761971
user { "gitolite":
allowdupe => false,
comment => "git repository hosting,,,",
@@ -48,6 +50,7 @@ class gitolite inherits git {
home => "/var/git",
shell => "/bin/sh",
gid => "gitolite",
+ password => '*',
groups => [ "puppet" ],
require => Group["gitolite"],
}