From 6a096ca6216d4670db4c346692bb8b7356f7e941 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 8 Mar 2014 14:11:32 -0300 Subject: Make sure gitolite account is unlocked --- manifests/gitolite.pp | 3 +++ 1 file changed, 3 insertions(+) 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"], } -- cgit v1.2.3