Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Issue with puppet source keys and gitolite preseed. #17

merged 1 commit into from

2 participants


When puppet:///host/ source type of a key is used, the preseed file is written with the URI instead of the file location. This commit changes so that in either case, source or content, the #{git_home}/#{git_user}.pub location is used to match gitolite.pp filename.


Hi, oh yes indeed! I had not noticed that,

However, we should add a "require" on the public key

  require => File["${git_home}/${git_user}.pub"],                          

Thanks !

@sbadia sbadia merged commit d280965 into sbadia:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 13, 2012
  1. @sadin999

    Changed gitolite.preseed.erb template as it had issues when puppet://…

    sadin999 authored
    …/host/ source based key was used
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  templates/gitolite.preseed.erb
2  templates/gitolite.preseed.erb
@@ -1,3 +1,3 @@
gitolite gitolite/gituser string <%= git_user %>
-gitolite gitolite/adminkey string <%= git_admin_pubkey %>
+gitolite gitolite/adminkey string <%= "#{git_home}/#{git_user}.pub" %>
gitolite gitolite/gitdir string <%= git_home %>
Something went wrong with that request. Please try again.