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

Pass the equivalent of the knife ssh "-a, --attribute ATTR" option? #1

Open
bknowles opened this issue Jan 28, 2012 · 0 comments
Open

Comments

@bknowles
Copy link

So, I've recently run into the same problem that you obviously did, trying to stitch together the output from "knife ssh" sessions and make it all semi-sane.

However, in our environment, all the machines have their FQDN pointed at their private 10.* address, so that we make sure that when the machines try to talk to each other, they do so over their private network, which is higher bandwidth, doesn't get charged for, and is not exposed to the outside world. Therefore, any time I come in from my chef workstation with a "knife ssh" command, I need to add a "-a name" option to the end of the command in order to get it to come in over the public interface instead.

I'm still coming up to speed on Chef and Ruby, so it's not clear to me how this code might be modified to add the equivalent "-a" option from "knife ssh". Do you have any suggestions? Thanks!

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

No branches or pull requests

1 participant