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.

преди 7 години
преди 7 години
преди 7 години
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. ---
  2. driver:
  3. name: docker
  4. hostname: galera.ci.local
  5. use_sudo: false
  6. provisioner:
  7. name: salt_solo
  8. salt_install: bootstrap
  9. salt_bootstrap_url: https://bootstrap.saltstack.com
  10. salt_version: latest
  11. require_chef: false
  12. log_level: error
  13. formula: galera
  14. grains:
  15. noservices: True
  16. dependencies:
  17. - name: mysql
  18. repo: git
  19. source: https://github.com/salt-formulas/salt-formula-mysql.git
  20. - name: linux
  21. repo: git
  22. source: https://github.com/salt-formulas/salt-formula-linux.git
  23. state_top:
  24. base:
  25. "*":
  26. - linux
  27. - galera
  28. pillars:
  29. top.sls:
  30. base:
  31. "*":
  32. - galera
  33. - galeracluster_debian_repo
  34. pillars-from-files:
  35. galeracluster_debian_repo.sls: tests/pillar/repo_galeracluster.sls
  36. verifier:
  37. name: inspec
  38. sudo: true
  39. platforms:
  40. - name: <%=ENV['PLATFORM'] || 'ubuntu-xenial'%>
  41. driver_config:
  42. image: <%=ENV['PLATFORM'] || 'trevorj/salty-whales:xenial'%>
  43. platform: ubuntu
  44. suites:
  45. - name: master_cluster
  46. provisioner:
  47. pillars-from-files:
  48. galera.sls: tests/pillar/master_cluster.sls
  49. - name: slave_cluster
  50. provisioner:
  51. pillars-from-files:
  52. galera.sls: tests/pillar/slave_cluster.sls
  53. # vim: ft=yaml sw=2 ts=2 sts=2 tw=125