Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with puppet source keys and gitolite preseed. #17

Merged
merged 1 commit into from
Nov 13, 2012

Conversation

sadin999
Copy link
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
Copy link
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 added a commit that referenced this pull request Nov 13, 2012
Issue with puppet source keys and gitolite preseed.
@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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants