Saltstack Official Salt Formula
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. ---
  2. driver:
  3. name: docker
  4. use_sudo: false
  5. privileged: true
  6. provision_command: mkdir -p /run/sshd
  7. run_command: /lib/systemd/systemd
  8. platforms:
  9. # Latest distros
  10. - name: debian-9
  11. - name: ubuntu-18.04
  12. - name: centos-7
  13. - name: fedora-29
  14. - name: opensuse-42.3
  15. driver:
  16. run_command: /usr/lib/systemd/systemd
  17. provision_command:
  18. - systemctl enable sshd.service
  19. # Previous distros
  20. - name: debian-8
  21. - name: ubuntu-16.04
  22. - name: fedora-28
  23. # centos-6 guest fails on Debian hosts due to vsyscall issues, see
  24. # https://hub.docker.com/_/centos, "A note about vsyscall"
  25. - name: centos-6
  26. driver:
  27. run_command: /sbin/init
  28. provisioner:
  29. name: salt_solo
  30. salt_bootstrap_options: -X -d git %s
  31. log_level: info
  32. require_chef: false
  33. formula: salt
  34. salt_copy_filter:
  35. - .kitchen
  36. - .git
  37. state_top:
  38. base:
  39. '*':
  40. - salt.pkgrepo
  41. - salt.master
  42. - salt.minion
  43. pillars:
  44. top.sls:
  45. base:
  46. '*':
  47. - salt
  48. salt.sls:
  49. salt:
  50. master:
  51. fileserver_backend:
  52. - rootfs
  53. file_roots:
  54. base:
  55. - /srv/salt
  56. pillar_roots:
  57. base:
  58. - /srv/pillar
  59. minion:
  60. master: localhost
  61. fileserver_backend:
  62. - rootfs
  63. file_roots:
  64. base:
  65. - /srv/salt
  66. pillar_roots:
  67. base:
  68. - /srv/pillar
  69. verifier:
  70. name: inspec
  71. sudo: true
  72. reporter:
  73. - cli
  74. suites:
  75. # Latest distros, latest salt, python3
  76. # These distros have py3 packages available in salt's repo
  77. - name: v2019-2-py3
  78. includes:
  79. - debian-9
  80. - ubuntu-18.04
  81. provisioner:
  82. salt_bootstrap_options: -X -x python3 -d git %s
  83. salt_version: '2019.2'
  84. pillars:
  85. salt.sls:
  86. salt:
  87. release: '2019.2'
  88. py_ver: 'py3'
  89. verifier:
  90. inspec_tests:
  91. - path: test/integration/2019-2
  92. # Latest distros, latest salt, python2
  93. # Fedora ships updated py2 versions in their own repos
  94. - name: v2019-2-py2
  95. includes:
  96. - centos-7
  97. - fedora-29
  98. provisioner:
  99. salt_version: '2019.2'
  100. pillars:
  101. salt.sls:
  102. salt:
  103. release: '2019.2'
  104. py_ver: 'py2'
  105. verifier:
  106. inspec_tests:
  107. - path: test/integration/2019-2
  108. # Previous distros, previous salt, python2
  109. - name: v2018-3-py2
  110. includes:
  111. - debian-8
  112. - ubuntu-16.04
  113. - opensuse-42.3
  114. provisioner:
  115. # We require an old version of salt in the provisioner or,
  116. # the salt formula fails to downgrade to the desired version to test
  117. salt_version: '2018.3'
  118. pillars:
  119. salt.sls:
  120. salt:
  121. release: '2018.3'
  122. py_ver: 'py2'
  123. verifier:
  124. inspec_tests:
  125. - path: test/integration/2018-3
  126. # centos-6 ships with python2.6, so it requires extra bootstrapping parameters
  127. # to install python2.7
  128. - name: v2018-3-py2-bootstrap
  129. includes:
  130. - centos-6
  131. provisioner:
  132. salt_bootstrap_options: -X -d stable %s
  133. salt_version: '2018.3'
  134. pillars:
  135. salt.sls:
  136. salt:
  137. release: '2018.3'
  138. py_ver: 'py2'
  139. verifier:
  140. inspec_tests:
  141. - path: test/integration/2018-3
  142. # To tests fedora 28 & salt v2018.2, we need to force the package version
  143. # otherwise the image, which includes the 'updates' repo, will install 2019.2
  144. - name: v2018-3-py2-forced-version
  145. includes:
  146. - fedora-28
  147. provisioner:
  148. # We require an old version of salt in the provisioner or,
  149. # the salt formula fails to downgrade to the desired version to test
  150. salt_version: '2018.3'
  151. pillars:
  152. salt.sls:
  153. salt:
  154. release: '2018.3'
  155. py_ver: 'py2'
  156. version: '2018.3.0-1.fc28'
  157. verifier:
  158. inspec_tests:
  159. - path: test/integration/2018-3
  160. # Previous distros, oldest salt, python2
  161. - name: v2017-7-py2
  162. includes:
  163. - debian-8
  164. - ubuntu-16.04
  165. provisioner:
  166. # We require an old version of salt in the provisioner or,
  167. # the salt formula fails to downgrade to the desired version to test
  168. salt_version: '2017.7'
  169. pillars:
  170. salt.sls:
  171. salt:
  172. release: '2017.7'
  173. py_ver: 'py2'
  174. verifier:
  175. inspec_tests:
  176. - path: test/integration/2017-7
  177. # centos-6 ships with python2.6, so it requires extra bootstrapping parameters
  178. # to install python2.7
  179. - name: v2017-7-py2-bootstrap
  180. includes:
  181. - centos-6
  182. provisioner:
  183. # As centos-6 ships with python2.6, we use the bootstrapper to install python2.7
  184. salt_bootstrap_options: -X -d stable %s
  185. salt_version: '2017.7'
  186. pillars:
  187. salt.sls:
  188. salt:
  189. release: '2017.7'
  190. py_ver: 'py2'
  191. verifier:
  192. inspec_tests:
  193. - path: test/integration/2017-7