Skip to content

Instantly share code, notes, and snippets.

@thecodeassassin
Created September 4, 2013 08:17
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 thecodeassassin/4b9fa5d516828d2d56fb to your computer and use it in GitHub Desktop.
Save thecodeassassin/4b9fa5d516828d2d56fb to your computer and use it in GitHub Desktop.
cmd.wait:
- name: {% if salt['file.file_exists'](phpmyadmin_archive) == True %} gunzip {{ phpmyadmin_archive }}; {% endif %} mysql -uphpmyadmin -p{{ pillar["test_password"] }} < {{ phpmyadmin_example_dir }}/create_tables.sql
- cwd: /tmp
- watch:
- mysql_user.present: phpmyadmin
- pkg: phpmyadmin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment