Saltstack Official Salt Formula
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

feat: use `semantic-release` cross-formula standard structure * Semi-automated using https://github.com/myii/ssf-formula/pull/31 * Includes: - Update TOFS - Use `bin/kitchen` - Use `dist: bionic` in Travis - Add `yamllint` and apply rules - Use `pillars_from_files` throughout - Replace EOL images in Kitchen & Travis - Add `develop` images in Kitchen & Travis * Fix (or ignore) errors shown below: ```bash salt-formula$ yamllint -s . ./pillar.example 1:1 warning missing document start "---" (document-start) 5:23 warning truthy value should be one of [false, true] (truthy) 8:25 warning truthy value should be one of [false, true] (truthy) 11:25 warning truthy value should be one of [false, true] (truthy) 19:21 warning truthy value should be one of [false, true] (truthy) 40:89 error line too long (108 > 88 characters) (line-length) 41:89 error line too long (112 > 88 characters) (line-length) 43:89 error line too long (112 > 88 characters) (line-length) 45:89 error line too long (110 > 88 characters) (line-length) 47:89 error line too long (89 > 88 characters) (line-length) 74:27 warning truthy value should be one of [false, true] (truthy) 82:9 error wrong indentation: expected 10 but found 8 (indentation) 101:14 warning truthy value should be one of [false, true] (truthy) 102:20 warning truthy value should be one of [false, true] (truthy) 103:89 error line too long (119 > 88 characters) (line-length) 121:7 warning comment not indented like content (comments-indentation) 122:24 error syntax error: found character '%' that cannot start any token 310:89 error line too long (102 > 88 characters) (line-length) 330:89 error line too long (113 > 88 characters) (line-length) 433:1 error too many blank lines (1 > 0) (empty-lines) ./salt/osmap.yaml 4:2 error syntax error: found character '%' that cannot start any token 6:89 error line too long (93 > 88 characters) (line-length) 22:89 error line too long (137 > 88 characters) (line-length) 23:89 error line too long (134 > 88 characters) (line-length) 33:89 error line too long (149 > 88 characters) (line-length) 34:89 error line too long (146 > 88 characters) (line-length) ./salt/osfamilymap.yaml 4:2 error syntax error: found character '%' that cannot start any token 6:89 error line too long (94 > 88 characters) (line-length) 24:89 error line too long (149 > 88 characters) (line-length) 25:89 error line too long (146 > 88 characters) (line-length) 39:89 error line too long (105 > 88 characters) (line-length) 40:89 error line too long (127 > 88 characters) (line-length) 56:89 error line too long (101 > 88 characters) (line-length) ./salt/ospyvermap.yaml 4:1 warning missing document start "---" (document-start) ./salt/defaults.yaml 3:1 warning missing document start "---" (document-start) 7:21 warning truthy value should be one of [false, true] (truthy) 8:12 warning truthy value should be one of [false, true] (truthy) 9:23 warning truthy value should be one of [false, true] (truthy) 10:19 warning truthy value should be one of [false, true] (truthy) 14:25 warning truthy value should be one of [false, true] (truthy) 15:25 warning truthy value should be one of [false, true] (truthy) 16:27 warning truthy value should be one of [false, true] (truthy) 17:27 warning truthy value should be one of [false, true] (truthy) 39:28 warning truthy value should be one of [false, true] (truthy) 41:28 warning truthy value should be one of [false, true] (truthy) 45:24 warning truthy value should be one of [false, true] (truthy) 49:30 warning truthy value should be one of [false, true] (truthy) 54:28 warning truthy value should be one of [false, true] (truthy) 63:25 warning truthy value should be one of [false, true] (truthy) 68:15 warning truthy value should be one of [false, true] (truthy) ```
5 роки тому
feat: use `semantic-release` cross-formula standard structure * Semi-automated using https://github.com/myii/ssf-formula/pull/31 * Includes: - Update TOFS - Use `bin/kitchen` - Use `dist: bionic` in Travis - Add `yamllint` and apply rules - Use `pillars_from_files` throughout - Replace EOL images in Kitchen & Travis - Add `develop` images in Kitchen & Travis * Fix (or ignore) errors shown below: ```bash salt-formula$ yamllint -s . ./pillar.example 1:1 warning missing document start "---" (document-start) 5:23 warning truthy value should be one of [false, true] (truthy) 8:25 warning truthy value should be one of [false, true] (truthy) 11:25 warning truthy value should be one of [false, true] (truthy) 19:21 warning truthy value should be one of [false, true] (truthy) 40:89 error line too long (108 > 88 characters) (line-length) 41:89 error line too long (112 > 88 characters) (line-length) 43:89 error line too long (112 > 88 characters) (line-length) 45:89 error line too long (110 > 88 characters) (line-length) 47:89 error line too long (89 > 88 characters) (line-length) 74:27 warning truthy value should be one of [false, true] (truthy) 82:9 error wrong indentation: expected 10 but found 8 (indentation) 101:14 warning truthy value should be one of [false, true] (truthy) 102:20 warning truthy value should be one of [false, true] (truthy) 103:89 error line too long (119 > 88 characters) (line-length) 121:7 warning comment not indented like content (comments-indentation) 122:24 error syntax error: found character '%' that cannot start any token 310:89 error line too long (102 > 88 characters) (line-length) 330:89 error line too long (113 > 88 characters) (line-length) 433:1 error too many blank lines (1 > 0) (empty-lines) ./salt/osmap.yaml 4:2 error syntax error: found character '%' that cannot start any token 6:89 error line too long (93 > 88 characters) (line-length) 22:89 error line too long (137 > 88 characters) (line-length) 23:89 error line too long (134 > 88 characters) (line-length) 33:89 error line too long (149 > 88 characters) (line-length) 34:89 error line too long (146 > 88 characters) (line-length) ./salt/osfamilymap.yaml 4:2 error syntax error: found character '%' that cannot start any token 6:89 error line too long (94 > 88 characters) (line-length) 24:89 error line too long (149 > 88 characters) (line-length) 25:89 error line too long (146 > 88 characters) (line-length) 39:89 error line too long (105 > 88 characters) (line-length) 40:89 error line too long (127 > 88 characters) (line-length) 56:89 error line too long (101 > 88 characters) (line-length) ./salt/ospyvermap.yaml 4:1 warning missing document start "---" (document-start) ./salt/defaults.yaml 3:1 warning missing document start "---" (document-start) 7:21 warning truthy value should be one of [false, true] (truthy) 8:12 warning truthy value should be one of [false, true] (truthy) 9:23 warning truthy value should be one of [false, true] (truthy) 10:19 warning truthy value should be one of [false, true] (truthy) 14:25 warning truthy value should be one of [false, true] (truthy) 15:25 warning truthy value should be one of [false, true] (truthy) 16:27 warning truthy value should be one of [false, true] (truthy) 17:27 warning truthy value should be one of [false, true] (truthy) 39:28 warning truthy value should be one of [false, true] (truthy) 41:28 warning truthy value should be one of [false, true] (truthy) 45:24 warning truthy value should be one of [false, true] (truthy) 49:30 warning truthy value should be one of [false, true] (truthy) 54:28 warning truthy value should be one of [false, true] (truthy) 63:25 warning truthy value should be one of [false, true] (truthy) 68:15 warning truthy value should be one of [false, true] (truthy) ```
5 роки тому
feat: use `semantic-release` cross-formula standard structure * Semi-automated using https://github.com/myii/ssf-formula/pull/31 * Includes: - Update TOFS - Use `bin/kitchen` - Use `dist: bionic` in Travis - Add `yamllint` and apply rules - Use `pillars_from_files` throughout - Replace EOL images in Kitchen & Travis - Add `develop` images in Kitchen & Travis * Fix (or ignore) errors shown below: ```bash salt-formula$ yamllint -s . ./pillar.example 1:1 warning missing document start "---" (document-start) 5:23 warning truthy value should be one of [false, true] (truthy) 8:25 warning truthy value should be one of [false, true] (truthy) 11:25 warning truthy value should be one of [false, true] (truthy) 19:21 warning truthy value should be one of [false, true] (truthy) 40:89 error line too long (108 > 88 characters) (line-length) 41:89 error line too long (112 > 88 characters) (line-length) 43:89 error line too long (112 > 88 characters) (line-length) 45:89 error line too long (110 > 88 characters) (line-length) 47:89 error line too long (89 > 88 characters) (line-length) 74:27 warning truthy value should be one of [false, true] (truthy) 82:9 error wrong indentation: expected 10 but found 8 (indentation) 101:14 warning truthy value should be one of [false, true] (truthy) 102:20 warning truthy value should be one of [false, true] (truthy) 103:89 error line too long (119 > 88 characters) (line-length) 121:7 warning comment not indented like content (comments-indentation) 122:24 error syntax error: found character '%' that cannot start any token 310:89 error line too long (102 > 88 characters) (line-length) 330:89 error line too long (113 > 88 characters) (line-length) 433:1 error too many blank lines (1 > 0) (empty-lines) ./salt/osmap.yaml 4:2 error syntax error: found character '%' that cannot start any token 6:89 error line too long (93 > 88 characters) (line-length) 22:89 error line too long (137 > 88 characters) (line-length) 23:89 error line too long (134 > 88 characters) (line-length) 33:89 error line too long (149 > 88 characters) (line-length) 34:89 error line too long (146 > 88 characters) (line-length) ./salt/osfamilymap.yaml 4:2 error syntax error: found character '%' that cannot start any token 6:89 error line too long (94 > 88 characters) (line-length) 24:89 error line too long (149 > 88 characters) (line-length) 25:89 error line too long (146 > 88 characters) (line-length) 39:89 error line too long (105 > 88 characters) (line-length) 40:89 error line too long (127 > 88 characters) (line-length) 56:89 error line too long (101 > 88 characters) (line-length) ./salt/ospyvermap.yaml 4:1 warning missing document start "---" (document-start) ./salt/defaults.yaml 3:1 warning missing document start "---" (document-start) 7:21 warning truthy value should be one of [false, true] (truthy) 8:12 warning truthy value should be one of [false, true] (truthy) 9:23 warning truthy value should be one of [false, true] (truthy) 10:19 warning truthy value should be one of [false, true] (truthy) 14:25 warning truthy value should be one of [false, true] (truthy) 15:25 warning truthy value should be one of [false, true] (truthy) 16:27 warning truthy value should be one of [false, true] (truthy) 17:27 warning truthy value should be one of [false, true] (truthy) 39:28 warning truthy value should be one of [false, true] (truthy) 41:28 warning truthy value should be one of [false, true] (truthy) 45:24 warning truthy value should be one of [false, true] (truthy) 49:30 warning truthy value should be one of [false, true] (truthy) 54:28 warning truthy value should be one of [false, true] (truthy) 63:25 warning truthy value should be one of [false, true] (truthy) 68:15 warning truthy value should be one of [false, true] (truthy) ```
5 роки тому
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261
  1. # -*- coding: utf-8 -*-
  2. # vim: ft=yaml
  3. ---
  4. # For help on this file's format, see https://kitchen.ci/
  5. driver:
  6. name: docker
  7. use_sudo: false
  8. privileged: true
  9. run_command: /lib/systemd/systemd
  10. # Make sure the platforms listed below match up with
  11. # the `env.matrix` instances defined in `.travis.yml`
  12. platforms:
  13. ## SALT `3001`
  14. - name: debian-10-3001-py3
  15. driver:
  16. image: saltimages/salt-3001-py3:debian-10
  17. - name: debian-9-3001-py3
  18. driver:
  19. image: saltimages/salt-3001-py3:debian-9
  20. - name: ubuntu-2004-3001-py3
  21. driver:
  22. image: saltimages/salt-3001-py3:ubuntu-20.04
  23. - name: ubuntu-1804-3001-py3
  24. driver:
  25. image: saltimages/salt-3001-py3:ubuntu-18.04
  26. - name: centos-8-3001-py3
  27. driver:
  28. image: saltimages/salt-3001-py3:centos-8
  29. - name: centos-7-3001-py3
  30. driver:
  31. image: saltimages/salt-3001-py3:centos-7
  32. - name: fedora-32-3001-py3
  33. driver:
  34. image: saltimages/salt-3001-py3:fedora-32
  35. - name: fedora-31-3001-py3
  36. driver:
  37. image: saltimages/salt-3001-py3:fedora-31
  38. - name: opensuse-leap-152-3001-py3
  39. driver:
  40. image: saltimages/salt-3001-py3:opensuse-leap-15.2
  41. run_command: /usr/lib/systemd/systemd
  42. # Workaround to avoid intermittent failures on `opensuse-leap-15.2`:
  43. # => SCP did not finish successfully (255): (Net::SCP::Error)
  44. transport:
  45. max_ssh_sessions: 1
  46. - name: amazonlinux-2-3001-py3
  47. driver:
  48. image: saltimages/salt-3001-py3:amazonlinux-2
  49. - name: oraclelinux-8-3001-py3
  50. driver:
  51. image: saltimages/salt-3001-py3:oraclelinux-8
  52. - name: oraclelinux-7-3001-py3
  53. driver:
  54. image: saltimages/salt-3001-py3:oraclelinux-7
  55. - name: gentoo-stage3-latest-3001-py3
  56. driver:
  57. image: saltimages/salt-3001-py3:gentoo-stage3-latest
  58. run_command: /sbin/init
  59. - name: gentoo-stage3-systemd-3001-py3
  60. driver:
  61. image: saltimages/salt-3001-py3:gentoo-stage3-systemd
  62. ## SALT `3000.3`
  63. - name: debian-10-3000-3-py3
  64. driver:
  65. image: saltimages/salt-3000.3-py3:debian-10
  66. - name: debian-9-3000-3-py3
  67. driver:
  68. image: saltimages/salt-3000.3-py3:debian-9
  69. - name: ubuntu-1804-3000-3-py3
  70. driver:
  71. image: saltimages/salt-3000.3-py3:ubuntu-18.04
  72. - name: centos-8-3000-3-py3
  73. driver:
  74. image: saltimages/salt-3000.3-py3:centos-8
  75. - name: centos-7-3000-3-py3
  76. driver:
  77. image: saltimages/salt-3000.3-py3:centos-7
  78. - name: opensuse-leap-152-3000-3-py3
  79. driver:
  80. image: saltimages/salt-3000.3-py3:opensuse-leap-15.2
  81. run_command: /usr/lib/systemd/systemd
  82. # Workaround to avoid intermittent failures on `opensuse-leap-15.2`:
  83. # => SCP did not finish successfully (255): (Net::SCP::Error)
  84. transport:
  85. max_ssh_sessions: 1
  86. - name: amazonlinux-2-3000-3-py3
  87. driver:
  88. image: saltimages/salt-3000.3-py3:amazonlinux-2
  89. - name: oraclelinux-8-3000-3-py3
  90. driver:
  91. image: saltimages/salt-3000.3-py3:oraclelinux-8
  92. - name: oraclelinux-7-3000-3-py3
  93. driver:
  94. image: saltimages/salt-3000.3-py3:oraclelinux-7
  95. - name: ubuntu-1804-3000-3-py2
  96. driver:
  97. image: saltimages/salt-3000.3-py2:ubuntu-18.04
  98. - name: ubuntu-1604-3000-3-py2
  99. driver:
  100. image: saltimages/salt-3000.3-py2:ubuntu-16.04
  101. - name: gentoo-stage3-latest-3000-3-py3
  102. driver:
  103. image: saltimages/salt-3000.3-py3:gentoo-stage3-latest
  104. run_command: /sbin/init
  105. - name: gentoo-stage3-systemd-3000-3-py3
  106. driver:
  107. image: saltimages/salt-3000.3-py3:gentoo-stage3-systemd
  108. ## SALT `2019.2`
  109. - name: debian-10-2019-2-py3
  110. driver:
  111. image: saltimages/salt-2019.2-py3:debian-10
  112. - name: debian-9-2019-2-py3
  113. driver:
  114. image: saltimages/salt-2019.2-py3:debian-9
  115. - name: ubuntu-1804-2019-2-py3
  116. driver:
  117. image: saltimages/salt-2019.2-py3:ubuntu-18.04
  118. - name: ubuntu-1604-2019-2-py3
  119. driver:
  120. image: saltimages/salt-2019.2-py3:ubuntu-16.04
  121. - name: centos-8-2019-2-py3
  122. driver:
  123. image: saltimages/salt-2019.2-py3:centos-8
  124. - name: centos-7-2019-2-py3
  125. driver:
  126. image: saltimages/salt-2019.2-py3:centos-7
  127. - name: fedora-31-2019-2-py3
  128. driver:
  129. image: saltimages/salt-2019.2-py3:fedora-31
  130. - name: opensuse-leap-152-2019-2-py3
  131. driver:
  132. image: saltimages/salt-2019.2-py3:opensuse-leap-15.2
  133. run_command: /usr/lib/systemd/systemd
  134. # Workaround to avoid intermittent failures on `opensuse-leap-15.2`:
  135. # => SCP did not finish successfully (255): (Net::SCP::Error)
  136. transport:
  137. max_ssh_sessions: 1
  138. - name: amazonlinux-2-2019-2-py3
  139. driver:
  140. image: saltimages/salt-2019.2-py3:amazonlinux-2
  141. - name: centos-6-2019-2-py2
  142. driver:
  143. image: saltimages/salt-2019.2-py2:centos-6
  144. run_command: /sbin/init
  145. - name: amazonlinux-1-2019-2-py2
  146. driver:
  147. image: saltimages/salt-2019.2-py2:amazonlinux-1
  148. run_command: /sbin/init
  149. provisioner:
  150. name: salt_solo
  151. log_level: debug
  152. salt_install: none
  153. require_chef: false
  154. formula: salt
  155. salt_copy_filter:
  156. - .kitchen
  157. - .git
  158. verifier:
  159. # https://www.inspec.io/
  160. name: inspec
  161. sudo: true
  162. # cli, documentation, html, progress, json, json-min, json-rspec, junit
  163. reporter:
  164. - cli
  165. suites:
  166. - name: v3001-py3
  167. includes:
  168. - debian-10-3001-py3
  169. - debian-9-3001-py3
  170. - ubuntu-2004-3001-py3
  171. - ubuntu-1804-3001-py3
  172. - centos-8-3001-py3
  173. - centos-7-3001-py3
  174. - fedora-32-3001-py3
  175. - fedora-31-3001-py3
  176. - opensuse-leap-152-3001-py3
  177. - amazonlinux-2-3001-py3
  178. - oraclelinux-8-3001-py3
  179. - oraclelinux-7-3001-py3
  180. - gentoo-stage3-latest-3001-py3
  181. - gentoo-stage3-systemd-3001-py3
  182. provisioner:
  183. state_top:
  184. base:
  185. '*':
  186. - salt.pkgrepo
  187. - salt.master
  188. - salt.minion
  189. pillars:
  190. top.sls:
  191. base:
  192. '*':
  193. - salt
  194. - v3001-py3
  195. pillars_from_files:
  196. salt.sls: test/salt/pillar/salt.sls
  197. v3001-py3.sls: test/salt/pillar/v3001-py3.sls
  198. verifier:
  199. inspec_tests:
  200. - path: test/integration/v3001-py3
  201. - name: v3000-py3
  202. includes:
  203. - debian-10-3000-3-py3
  204. - debian-9-3000-3-py3
  205. - ubuntu-1804-3000-3-py3
  206. - centos-8-3000-3-py3
  207. - centos-7-3000-3-py3
  208. - opensuse-leap-152-3000-3-py3
  209. - amazonlinux-2-3000-3-py3
  210. - oraclelinux-8-3000-3-py3
  211. - oraclelinux-7-3000-3-py3
  212. - gentoo-stage3-latest-3000-3-py3
  213. - gentoo-stage3-systemd-3000-3-py3
  214. provisioner:
  215. state_top:
  216. base:
  217. '*':
  218. - salt.pkgrepo
  219. - salt.master
  220. - salt.minion
  221. pillars:
  222. top.sls:
  223. base:
  224. '*':
  225. - salt
  226. - v3000-py3
  227. pillars_from_files:
  228. salt.sls: test/salt/pillar/salt.sls
  229. v3000-py3.sls: test/salt/pillar/v3000-py3.sls
  230. verifier:
  231. inspec_tests:
  232. - path: test/integration/v3000-py3
  233. - name: v3000-py2
  234. includes:
  235. - ubuntu-1804-3000-3-py2
  236. - ubuntu-1604-3000-3-py2
  237. provisioner:
  238. state_top:
  239. base:
  240. '*':
  241. - salt.pkgrepo
  242. - salt.master
  243. - salt.minion
  244. pillars:
  245. top.sls:
  246. base:
  247. '*':
  248. - salt
  249. - v3000-py2
  250. pillars_from_files:
  251. salt.sls: test/salt/pillar/salt.sls
  252. v3000-py2.sls: test/salt/pillar/v3000-py2.sls
  253. verifier:
  254. inspec_tests:
  255. - path: test/integration/v3000-py2