Saltstack Official Galera Formula
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

123456789101112131415161718
  1. {%- if pillar.galera is defined %}
  2. include:
  3. {%- if pillar.galera.master is defined %}
  4. - galera.master
  5. {%- endif %}
  6. {%- if pillar.galera.slave is defined %}
  7. - galera.slave
  8. {%- endif %}
  9. {%- if pillar.galera.monitor is defined %}
  10. - galera.monitor
  11. {%- endif %}
  12. {%- endif %}
  13. {%- if pillar.mysql is defined %}
  14. {%- if pillar.mysql.server is defined %}
  15. - galera.server
  16. {%- endif %}
  17. {%- endif %}