]> gitweb.fluxo.info Git - puppet-git.git/commitdiff
Make sure gitolite account is unlocked
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 8 Mar 2014 17:11:32 +0000 (14:11 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 8 Mar 2014 17:11:32 +0000 (14:11 -0300)
manifests/gitolite.pp

index 01e0f3ea257f0d72e66c0afe8a2d64ceed388a39..19474df111e39ea1b826131ea514b871f8d7e11e 100644 (file)
@@ -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"],
   }