Saltstack Official Galera Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 yıl önce
9 yıl önce
9 yıl önce
1234567891011121314151617181920
  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