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
base_ec2_private: | |
provider: my-ec2-us-east-private-ips | |
image: ami-018c9568 | |
size: Micro Instance | |
ssh_username: ubuntu | |
base_ec2_public: | |
provider: my-ec2-us-east-public-ips | |
image: ami-018c9568 | |
size: Micro Instance |
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
#!/bin/bash | |
# basically delete all signs of previous id and data | |
# and start over | |
/etc/init.d/salt-minion stop | |
rm -Rf /var/cache/salt/minion | |
rm /etc/salt/minion_id | |
rm -Rf /etc/salt/pki |
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
MYENVVAR="world" salt-call state.template test.sls |