New Saltstack Salt formula
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. ---
  2. driver:
  3. name: docker
  4. hostname: salt.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. salt_minion_id: salt.ci.local
  12. require_chef: false
  13. log_level: error
  14. formula: salt
  15. grains:
  16. noservices: true
  17. vendor_repo:
  18. - type: apt
  19. url: http://apt-mk.mirantis.com/trusty
  20. key_url: http://apt-mk.mirantis.com/public.gpg
  21. components: salt
  22. distribution: testing
  23. state_top:
  24. base:
  25. "*":
  26. - salt
  27. pillars:
  28. top.sls:
  29. base:
  30. "*":
  31. - salt
  32. - common
  33. common.sls:
  34. salt:
  35. minion:
  36. enabled: true
  37. master:
  38. host: localhost
  39. linux:
  40. system:
  41. enabled: true
  42. name: salt
  43. domain: ci.local
  44. dependencies:
  45. - name: git
  46. repo: git
  47. source: https://github.com/salt-formulas/salt-formula-git.git
  48. - name: reclass
  49. repo: git
  50. source: https://github.com/salt-formulas/salt-formula-reclass.git
  51. verifier:
  52. name: inspec
  53. sudo: true
  54. platforms:
  55. - name: <%=ENV['PLATFORM'] || 'ubuntu-xenial'%>
  56. driver_config:
  57. image: <%=ENV['PLATFORM'] || 'trevorj/salty-whales:xenial'%>
  58. platform: ubuntu
  59. # - name: ubuntu-xenial
  60. # driver_config:
  61. # image: trevorj/salty-whales:xenial
  62. # platform: ubuntu
  63. # - name: debian-jessie
  64. # driver_config:
  65. # image: debian:jessie
  66. # - name: debian-stretch
  67. # driver_config:
  68. # image: debian:stretch
  69. suites:
  70. - name: minion-default
  71. provisioner:
  72. pillars:
  73. top.sls:
  74. base:
  75. "*":
  76. - common
  77. - minion_pki
  78. - minion_mine
  79. - minion_graph
  80. - minion_handler
  81. - minion_local_pillar
  82. - minion_local_reclass
  83. pillars-from-files:
  84. minion_pki.sls: tests/pillar/minion_pki_ca.sls
  85. minion_mine.sls: tests/pillar/minion_mine.sls
  86. minion_graph.sls: tests/pillar/minion_graph.sls
  87. minion_handler.sls: tests/pillar/minion_custom_handler.sls
  88. minion_local_pillar.sls: tests/pillar/minion_local_pillar.sls
  89. minion_local_reclass.sls: tests/pillar/minion_local_reclass.sls
  90. - name: master-default
  91. provisioner:
  92. pillars:
  93. top.sls:
  94. base:
  95. "*":
  96. - common
  97. - minion_pki
  98. - master_api
  99. - master_acl
  100. - master_ssh_key
  101. - master_ssh_password
  102. - master_ssh_root
  103. - minion_pki_cert
  104. - master_formulas
  105. pillars-from-files:
  106. minion_pki.sls: tests/pillar/minion_pki_ca.sls
  107. minion_pki_cert.sls: tests/pillar/minion_pki_cert.sls
  108. master_api.sls: tests/pillar/master_api.sls
  109. master_acl.sls: tests/pillar/master_acl.sls
  110. master_ssh_key.sls: tests/pillar/master_ssh_minion_key.sls
  111. master_ssh_password.sls: tests/pillar/master_ssh_minion_password.sls
  112. master_ssh_root.sls: tests/pillar/master_ssh_minion_root.sls
  113. master_formulas.sls: tests/pillar/master_formulas.sls
  114. - name: control-default
  115. provisioner:
  116. grains:
  117. noservices: true
  118. pillars:
  119. top.sls:
  120. base:
  121. "*":
  122. - common
  123. - control_cloud_digitalocean
  124. - control_cloud_openstack
  125. - control_virt
  126. pillars-from-files:
  127. control_cloud_digitalocean.sls: tests/pillar/control_cloud_digitalocean.sls
  128. control_cloud_openstack.sls: tests/pillar/control_cloud_openstack.sls
  129. control_virt.sls: tests/pillar/control_virt.sls
  130. - name: minion_multi_master_failover
  131. provisioner:
  132. pillars-from-files:
  133. salt.sls: tests/pillar/minion_multi_master_failover.sls
  134. # - name: minion-local
  135. # provisioner:
  136. # pillars:
  137. # top.sls:
  138. # base:
  139. # "*":
  140. # - common
  141. # - minion_local_pillar
  142. # - minion_local_reclass
  143. # pillars-from-files:
  144. # minion_local_pillar.sls: tests/pillar/minion_local_pillar.sls
  145. # minion_local_reclass.sls: tests/pillar/minion_local_reclass.sls
  146. # vim: ft=yaml sw=2 ts=2 sts=2 tw=125