Skip to content

Instantly share code, notes, and snippets.

@viq
Created May 12, 2014 10:15
Show Gist options
  • Save viq/88fd866d89bbecd45fd0 to your computer and use it in GitHub Desktop.
Save viq/88fd866d89bbecd45fd0 to your computer and use it in GitHub Desktop.
mysql:
{% if salt['pillar.get']('mysql:install_method', 'package') == 'package' %}
pkg.installed
{% else %}
git:
- latest
- name: git://path
cmd:
- wait
- name: ./install_mysql
- watch:
- git: mysql
{% endif %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment