Skip to content
This repository has been archived by the owner on Mar 19, 2022. It is now read-only.

Add --forward-agent support #347

Merged
merged 1 commit into from
Feb 2, 2014
Merged

Conversation

xtoddx
Copy link
Contributor

@xtoddx xtoddx commented Jan 29, 2014

Net::Ssh supports forward agent. Expose it to knife-solo with the --forward-agent flag.

Most useful with --sudo-command "sudo -E" so the environment variable pointing to the socket remains intact during chef run.

@matschaffer
Copy link
Owner

Does this resolve #328 as well?

@xtoddx
Copy link
Contributor Author

xtoddx commented Jan 30, 2014

Nice! #328 describes the use case that prompted me to write this.

@matschaffer
Copy link
Owner

Looks good to me. Thanks!

matschaffer added a commit that referenced this pull request Feb 2, 2014
@matschaffer matschaffer merged commit 0648f5d into matschaffer:master Feb 2, 2014
xtoddx added a commit to xtoddx/ponyup that referenced this pull request Mar 10, 2014
This still requires knife-solo in the main project's Gemfile becuase of
[#347](matschaffer/knife-solo#347) which hasn't
been released yet.
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