Skip to content

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

Merged
rallytime merged 1 commit intosaltstack:developfrom
nicholasmhughes:add-salt-keys-to-userdata
Mar 12, 2018
Merged

Add the ability to send Salt minion keys to the userdata script#46491
rallytime merged 1 commit intosaltstack:developfrom
nicholasmhughes:add-salt-keys-to-userdata

Conversation

@nicholasmhughes
Copy link
Copy Markdown
Contributor

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.

@ghost ghost self-requested a review March 12, 2018 13:17
@rallytime rallytime merged commit 6866f37 into saltstack:develop Mar 12, 2018
@nicholasmhughes nicholasmhughes deleted the add-salt-keys-to-userdata branch March 12, 2018 15:25
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.

3 participants