Skip to content

Instantly share code, notes, and snippets.

View gravyboat's full-sized avatar

Forrest gravyboat

View GitHub Profile
MYENVVAR="world" salt-call state.template test.sls
#!/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
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