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



None yet
3 participants
Copy link

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?


Tests written?


Commits signed with GPG?


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

@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.