diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-03-08 14:11:32 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-03-08 14:11:32 -0300 |
commit | 6a096ca6216d4670db4c346692bb8b7356f7e941 (patch) | |
tree | 211b92c3a41cd2bfc841ca449ea7704f572402aa | |
parent | ce695d39090a3cbaf980f04ae3aba42ab7755ba7 (diff) | |
download | puppet-git-6a096ca6216d4670db4c346692bb8b7356f7e941.tar.gz puppet-git-6a096ca6216d4670db4c346692bb8b7356f7e941.tar.bz2 |
Make sure gitolite account is unlocked
-rw-r--r-- | manifests/gitolite.pp | 3 |
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"], } |