Saltstack Official Galera Formula
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

21 lines
568B

  1. {%- if pillar.galera.master is defined %}
  2. {%- from "galera/map.jinja" import master with context %}
  3. {%- set service = master %}
  4. {%- endif %}
  5. {%- if pillar.galera.slave is defined %}
  6. {%- from "galera/map.jinja" import slave with context %}
  7. {%- set service = slave %}
  8. {%- endif %}
  9. [client]
  10. host = localhost
  11. user = debian-sys-maint
  12. password = {{ service.maintenance_password }}
  13. socket = /var/run/mysqld/mysqld.sock
  14. [mysql_upgrade]
  15. host = localhost
  16. user = debian-sys-maint
  17. password = {{ service.maintenance_password }}
  18. socket = /var/run/mysqld/mysqld.sock
  19. basedir = /usr