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

123456789101112131415161718192021
  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.clustercheck is defined %}
  10. - galera.clustercheck
  11. {%- endif %}
  12. {%- if pillar.galera.monitor is defined %}
  13. - galera.monitor
  14. {%- endif %}
  15. {%- endif %}
  16. {%- if pillar.mysql is defined %}
  17. {%- if pillar.mysql.server is defined %}
  18. - galera.server
  19. {%- endif %}
  20. {%- endif %}