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

Add the ability to send Salt minion keys to the userdata script #46491

Merged

Conversation

Projects
None yet
3 participants
@nicholasmhughes
Copy link
Contributor

commented Mar 12, 2018

What does this PR do?

This PR adds the ability to send Salt minion keys to the userdata script when using a template renderer. The use case for this behavior is when you cannot use the built-in salt-cloud deploy scripts due to inability to SSH directly to the instance. If you are deploying instances to a secluded virtual network with outbound-only access, you can utilize a userdata script with userdata_sendkeys enabled to install the salt-minion software and deploy a pre-accepted key.

What issues does this PR fix or reference?

N/A

Tests written?

No

Commits signed with GPG?

Yes

Please review Salt's Contributing Guide for best practices.

See GitHub's page on GPG signing for more information about signing commits with GPG.

@salt-jenkins salt-jenkins requested a review from saltstack/team-cloud Mar 12, 2018

@rallytime rallytime merged commit 6866f37 into saltstack:develop Mar 12, 2018

5 of 10 checks passed

jenkins/PR/salt-pr-linode-cent7-py3 Pull Requests » Salt PR - Linode CentOS 7 - PY3 #3076 — FAILURE
Details
jenkins/PR/salt-pr-linode-ubuntu14-n Pull Requests » Salt PR - Linode Ubuntu14.04 #20728 — FAILURE
Details
jenkins/PR/salt-pr-linode-ubuntu16-py3 Pull Requests » Salt PR - Linode Ubuntu16.04 - PY3 #7782 — FAILURE
Details
jenkins/PR/salt-pr-rs-cent7-n Pull Requests » Salt PR - RS CentOS 7 #17124 — FAILURE
Details
default Build started sha1 is merged.
Details
WIP ready for review
Details
codeclimate All good!
Details
jenkins/PR/salt-pr-clone Pull Requests » Salt PR - Clone #23133 — SUCCESS
Details
jenkins/PR/salt-pr-docs-n Pull Requests » Salt PR - Docs #15444 — SUCCESS
Details
jenkins/PR/salt-pr-lint-n Pull Requests » Salt PR - Code Lint #20057 — SUCCESS
Details

@nicholasmhughes nicholasmhughes deleted the nicholasmhughes:add-salt-keys-to-userdata branch Mar 12, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.