New Saltstack Salt formula
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

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