Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {% if pillar['etc_mysql_my_cnf'] is defined %}
- /etc/mysql/my.cnf:
- file.managed:
- - template: jinja
- - user: root
- - group: root
- - mode: 644
- - contents: |
- {{ pillar['etc_mysql_my_cnf'] | indent(8) }}
- - require:
- - pkg: mysql packages
- - watch_in:
- - service: mysql service
- {% endif %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement