Created
July 28, 2014 18:00
-
-
Save gravyboat/5b62a6e91d6994fffb4a to your computer and use it in GitHub Desktop.
file.absent
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/etc/mysql/my.cnf: | |
file.managed: | |
- source: salt://database/config_files/master/my.cnf | |
- user: root | |
- group: root | |
- mode: 644 | |
- template: jinja | |
- defaults: | |
innodb_buffer_pool_size: {{ pillar.db_config.innodb_buffer_pool_size }} | |
join_buffer_size: {{ pillar.db_config.join_buffer_size }} | |
query_cache_limit: {{ pillar.db_config.query_cache_limit }} | |
remove_logfile0: | |
file.absent: | |
- name: /var/lib/mysql/ib_logfile0 | |
remove_logfile1: | |
file.absent: | |
- name: /var/lib/mysql/ib_logfile1 |
Author
gravyboat
commented
Jul 28, 2014
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment