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.

52 lines
1.1KB

  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. database:
  29. mydb:
  30. encoding: 'utf8'
  31. users:
  32. - name: haproxy
  33. host: localhost
  34. - name: haproxy
  35. host: '%'
  36. - name: haproxy
  37. host: 127.0.0.1
  38. - name: clustercheck
  39. #host: localhost
  40. password: password
  41. database: '*.*'
  42. grants: PROCESS
  43. - name: inspector
  44. host: 127.0.0.1
  45. password: password
  46. databases:
  47. - database: mydb
  48. table: mytable
  49. grant_option: True
  50. grants:
  51. - all privileges