Ales Komarek | cba48ac | 2015-04-30 11:40:44 +0200 | [diff] [blame] | 1 | |
| 2 | {%- if pillar.galera is defined %} |
| 3 | include: |
| 4 | {%- if pillar.galera.master is defined %} |
| 5 | - galera.master |
| 6 | {%- endif %} |
| 7 | {%- if pillar.galera.slave is defined %} |
| 8 | - galera.slave |
| 9 | {%- endif %} |
Ales Komarek | cf92b4e | 2015-04-30 16:52:21 +0200 | [diff] [blame] | 10 | {%- if pillar.galera.monitor is defined %} |
| 11 | - galera.monitor |
| 12 | {%- endif %} |
| 13 | {%- endif %} |
| 14 | {%- if pillar.mysql is defined %} |
| 15 | {%- if pillar.mysql.server is defined %} |
| 16 | - galera.server |
| 17 | {%- endif %} |
Ales Komarek | cba48ac | 2015-04-30 11:40:44 +0200 | [diff] [blame] | 18 | {%- endif %} |