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.

49 lines
1.0KB

  1. galera:
  2. master:
  3. enabled: true
  4. name: galeracluster
  5. bind:
  6. address: 127.0.0.1
  7. port: 3306
  8. maintenance_password: password
  9. admin:
  10. user: root
  11. password: password
  12. members:
  13. - host: 127.0.0.1
  14. port: 4567
  15. - host: 127.0.0.1
  16. port: 4567
  17. - host: 127.0.0.1
  18. port: 4567
  19. clustercheck:
  20. enabled: True
  21. user: clustercheck
  22. password: password
  23. available_when_donor: 1
  24. available_when_readonly: 1
  25. port: 9200
  26. mysql:
  27. server:
  28. users:
  29. - name: haproxy
  30. host: localhost
  31. - name: haproxy
  32. host: '%'
  33. - name: haproxy
  34. host: 127.0.0.1
  35. - name: clustercheck
  36. #host: localhost
  37. password: password
  38. database: '*.*'
  39. grants: PROCESS
  40. - name: inspector
  41. host: 127.0.0.1
  42. password: password
  43. databases:
  44. - database: mydb
  45. table: mytable
  46. grant_option: True
  47. grants:
  48. - all privileges