Saltstack Official Galera Formula
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

34 lines
1013B

  1. applications:
  2. - galera
  3. parameters:
  4. _param:
  5. galera_server_cluster_name: galeracluster
  6. galera_server_bind_address: ${_param:cluster_local_address}
  7. galera_server_bind_port: 3306
  8. galera_server_admin_user: root
  9. linux:
  10. system:
  11. repo:
  12. trusty:
  13. enabled: true
  14. source: 'deb http://10.0.110.14 trusty main'
  15. key_url: 'http://10.0.110.14/public.gpg'
  16. galera:
  17. master:
  18. enabled: true
  19. name: ${_param:galera_server_cluster_name}
  20. bind:
  21. address: ${_param:galera_server_bind_address}
  22. port: ${_param:galera_server_bind_port}
  23. maintenance_password: ${_param:galera_server_maintenance_password}
  24. admin:
  25. user: ${_param:galera_server_admin_user}
  26. password: ${_param:galera_server_admin_password}
  27. members:
  28. - host: ${_param:cluster_node01_address}
  29. port: 4567
  30. - host: ${_param:cluster_node02_address}
  31. port: 4567
  32. - host: ${_param:cluster_node03_address}
  33. port: 4567