create directory if not there

This commit is contained in:
David Boucha 2014-10-20 13:02:43 -06:00
parent 0687b3aa75
commit 5b16c57af5

View file

@ -25,6 +25,7 @@ include:
- name: /etc/mysql/{{ database }}.schema
- source: {{ salt['pillar.get'](['mysql', 'schema', database, 'source']|join(':')) }}
- user: {{ salt['pillar.get']('mysql:server:user', 'mysql') }}
- makedirs: True
{{ state_id }}_load:
cmd.wait: