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

[SUSTAIN-955] Add kerberos and additional winrm options #426

Merged

Conversation

marcparadise
Copy link
Contributor

For compatibility with knife bootstrap's conversion to train,
this PR adds kerberos as a supported protocol, and includes the
additional kerberos options kerberos_realm, kerberos_service

This also adds 'ssl_peer_fingerprint' and 'ca_trust_file' support.

Signed-off-by: Marc A. Paradise [email protected]

For compatibility with knife bootstrap's conversion to train,
this PR adds kerberos as a supported protocol, and includes the
additional kerberos options kerberos_realm, kerberos_service

This also adds 'ssl_peer_fingerprint' and  'ca_trust_file' support.

Signed-off-by: Marc A. Paradise <[email protected]>
@marcparadise marcparadise changed the title [SUSTAINING-955] Add kerberos and additional winrm options [SUSTAIN-955] Add kerberos and additional winrm options Mar 18, 2019
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.

Thanks @marcparadise

@@ -124,6 +126,10 @@ def connection_options(opts)
connection_retry_sleep: opts[:connection_retry_sleep],
max_wait_until_ready: opts[:max_wait_until_ready],
no_ssl_peer_verification: opts[:self_signed],
realm: opts[:kerberos_realm],
Copy link
Contributor Author

Choose a reason for hiding this comment

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

spacing

Copy link
Contributor

@clintoncwolfe clintoncwolfe left a comment

Choose a reason for hiding this comment

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

Thanks! If you could take some notes on how your setup your VM for manual testing on #419, that would be awesome!

@clintoncwolfe clintoncwolfe merged commit 1026f6c into inspec:2-release Mar 19, 2019
@frezbo
Copy link
Contributor

frezbo commented Mar 19, 2019

@marcparadise Awesome work on adding the kerberos transport also. ❤️

marcparadise added a commit to marcparadise/train that referenced this pull request Apr 19, 2019
For compatibility with knife bootstrap's conversion to train,
this PR adds kerberos as a supported protocol, and includes the
additional kerberos options kerberos_realm, kerberos_service

This also adds 'ssl_peer_fingerprint' and  'ca_trust_file' support.

Signed-off-by: Marc A. Paradise <[email protected]>
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.

4 participants