lnxchk/Gather — Issue #1: Pass the equivalent of the knife ssh "-a, --attribute ATTR" option?
Author: bknowles
Created: 2012-01-28 02:41:00+00:00
State: open

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!