Skip to content

Instantly share code, notes, and snippets.

Created June 9, 2015 07:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/a77963c2e9339bdf9f42 to your computer and use it in GitHub Desktop.
Save anonymous/a77963c2e9339bdf9f42 to your computer and use it in GitHub Desktop.
# top.sls
base:
'*':
- default-software
'G@tags:some-server':
- match: grains
- swapfile
- commands
----
# default-software.sls
curl: pkg.installed
sudo: pkg.installed
----
# install software
install-something:
cmd.run:
- name: curl -sSL https://get.docker.com/ | sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment