Issue with puppet source keys and gitolite preseed. #17

Merged
merged 1 commit into from Nov 13, 2012

Projects

None yet

2 participants

@sadin999
Contributor

When puppet:///host/key.pub 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.

@sbadia
Owner
sbadia commented Nov 13, 2012

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

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

'/var/cache/debconf/gitolite.preseed':
  [...]                                   
  require => File["${git_home}/${git_user}.pub"],                          

Thanks !

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