Skip to content
This repository has been archived by the owner on Jun 18, 2019. It is now read-only.

bundle_install attribute git_ssh #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

giorgian
Copy link

New attribute git_ssh for resource bundle_install: if present, set GIT_SSH environment variable, allowing to install gems from private git repos.

@coderanger
Copy link
Member

Hmm, I'll have to ponder this one. I don't usually like putting these kinds of explicit linkages between subsystems. As a workaround for now you can set ENV['GIT_SSH'] directly in your Chef code.

@giorgian
Copy link
Author

That's fair, I didn't expect the pull request to be merged as it is, it was a way to start the conversation.

I don't know if anybody uses bundle_install outside application; if they do, there's little difference between setting ENV directly and using my hypothetical git_ssh attribute.

My goal would be to propagate deploy_key to bundle_install, either always or based on some boolean flag: that would make the whole thing very smooth and idiomatic.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants