Created
April 14, 2021 16:23
-
-
Save Andy-Knight/289d426d5505f1cfcb202a62403e70ed to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cloudConfig: | | |
#cloud-config | |
preserve-hostname: false | |
hostname: ${self.resourceName}.corp.local | |
runcmd: | |
- curl -L https://bootstrap.saltstack.com -o install_salt.sh | |
- sudo sh install_salt.sh -A ${propgroup.SaltStackConfiguration.masterAddress} | |
- sudo salt-call grains.set serverRole app | |
- sudo salt-call grains.set databaseServer ${resource.database_Server_1.networks.address[0]} | |
- sudo salt-call state.highstate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment