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

Adding proper bastion support #310

Merged
merged 4 commits into from
Jun 27, 2018
Merged

Conversation

frezbo
Copy link
Contributor

@frezbo frezbo commented Jun 25, 2018

This PR addresses these issues:

If the skeleton is good, I could raise PR's that reference these:

@clintoncwolfe @jquick @aaronlippold @chris-rock Any thoughts or suggestions?

Signed-off-by: Noel Georgi <18496730+frezbo@users.noreply.github.com>
Copy link
Contributor

@jquick jquick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @frezbo this is really nice!

@@ -150,7 +158,10 @@ def connection_options(opts)
keys: opts[:key_files],
password: opts[:password],
forward_agent: opts[:forward_agent],
proxy_command: opts[:proxy_command],
custom_proxy_command: opts[:custom_proxy_command],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this will break any current proxy_command usage. You could probably alias or set custom_proxy_command from proxy_command if set.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeh I definitely agree, will fix.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jquick I can't seem to think why I used a custom prefix then. Good suggestion. Fixed and pushed. Thanks for the suggestion.

Signed-off-by: Noel Georgi <18496730+frezbo@users.noreply.github.com>
Signed-off-by: Noel Georgi <18496730+frezbo@users.noreply.github.com>
@frezbo
Copy link
Contributor Author

frezbo commented Jun 27, 2018

The failure seems unrelated to my change.

@frezbo
Copy link
Contributor Author

frezbo commented Jun 27, 2018

Closing and re-opening to re-trigger the tests

@frezbo frezbo closed this Jun 27, 2018
@frezbo frezbo reopened this Jun 27, 2018
Copy link
Contributor

@jquick jquick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @frezbo

@frezbo
Copy link
Contributor Author

frezbo commented Jun 27, 2018

@jquick Is there a new release being scheduled? I would like to add the same support to inspec and bump up the train version. Is there any place we can discuss this. Inspec slack? (Ironically it's still down ATM) 👍

Copy link
Contributor

@miah miah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome. Thanks @frezbo

@jquick
Copy link
Contributor

jquick commented Jun 27, 2018

We will release train Thursday, ill take care of getting it pined up! Thanks @frezbo! I am also around the community chef slack when it up :D.

@jquick jquick merged commit 6ed6e73 into inspec:master Jun 27, 2018
@frezbo
Copy link
Contributor Author

frezbo commented Jun 27, 2018

Thanks @jquick time to start on inspec.

@frezbo frezbo deleted the feature/bastion-support branch June 27, 2018 17:08
frezbo added a commit to frezbo/inspec that referenced this pull request Jun 28, 2018
Signed-off-by: Noel Georgi <18496730+frezbo@users.noreply.github.com>
jquick pushed a commit to inspec/inspec that referenced this pull request Jul 5, 2018
* Updating inspec with bastion options as per inspec/train#310
* Updating train pin
* Adding --password to pass the test
* Revert "Updating train pin"
* PR changes

Signed-off-by: Noel Georgi <18496730+frezbo@users.noreply.github.com>
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.

None yet

3 participants