Saltstack Official Salt 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.

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 години
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472
  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: /usr/lib/systemd/systemd
  10. provisioner:
  11. name: salt_solo
  12. log_level: debug
  13. salt_install: none
  14. require_chef: false
  15. formula: salt
  16. salt_copy_filter:
  17. - .kitchen
  18. - .git
  19. pillars_from_directories:
  20. - test/salt/pillar
  21. platforms:
  22. ## SALT `tiamat`
  23. - name: debian-11-tiamat-py3
  24. driver:
  25. image: saltimages/salt-tiamat-py3:debian-11
  26. run_command: /lib/systemd/systemd
  27. verifier:
  28. inputs:
  29. saltmajorversion: 3004
  30. - name: debian-10-tiamat-py3
  31. driver:
  32. image: saltimages/salt-tiamat-py3:debian-10
  33. run_command: /lib/systemd/systemd
  34. verifier:
  35. inputs:
  36. saltmajorversion: 3004
  37. - name: debian-9-tiamat-py3
  38. driver:
  39. image: saltimages/salt-tiamat-py3:debian-9
  40. run_command: /lib/systemd/systemd
  41. verifier:
  42. inputs:
  43. saltmajorversion: 3004
  44. - name: ubuntu-2204-tiamat-py3
  45. driver:
  46. image: saltimages/salt-tiamat-py3:ubuntu-22.04
  47. run_command: /lib/systemd/systemd
  48. verifier:
  49. inputs:
  50. saltmajorversion: 3004
  51. - name: ubuntu-2004-tiamat-py3
  52. driver:
  53. image: saltimages/salt-tiamat-py3:ubuntu-20.04
  54. run_command: /lib/systemd/systemd
  55. verifier:
  56. inputs:
  57. saltmajorversion: 3004
  58. - name: ubuntu-1804-tiamat-py3
  59. driver:
  60. image: saltimages/salt-tiamat-py3:ubuntu-18.04
  61. run_command: /lib/systemd/systemd
  62. verifier:
  63. inputs:
  64. saltmajorversion: 3004
  65. - name: centos-stream8-tiamat-py3
  66. driver:
  67. image: saltimages/salt-tiamat-py3:centos-stream8
  68. verifier:
  69. inputs:
  70. saltmajorversion: 3004
  71. - name: centos-7-tiamat-py3
  72. driver:
  73. image: saltimages/salt-tiamat-py3:centos-7
  74. verifier:
  75. inputs:
  76. saltmajorversion: 3004
  77. - name: amazonlinux-2-tiamat-py3
  78. driver:
  79. image: saltimages/salt-tiamat-py3:amazonlinux-2
  80. verifier:
  81. inputs:
  82. saltmajorversion: 3004
  83. - name: oraclelinux-8-tiamat-py3
  84. driver:
  85. image: saltimages/salt-tiamat-py3:oraclelinux-8
  86. verifier:
  87. inputs:
  88. saltmajorversion: 3004
  89. - name: oraclelinux-7-tiamat-py3
  90. driver:
  91. image: saltimages/salt-tiamat-py3:oraclelinux-7
  92. verifier:
  93. inputs:
  94. saltmajorversion: 3004
  95. - name: almalinux-8-tiamat-py3
  96. driver:
  97. image: saltimages/salt-tiamat-py3:almalinux-8
  98. verifier:
  99. inputs:
  100. saltmajorversion: 3004
  101. - name: rockylinux-8-tiamat-py3
  102. driver:
  103. image: saltimages/salt-tiamat-py3:rockylinux-8
  104. verifier:
  105. inputs:
  106. saltmajorversion: 3004
  107. ## SALT `master`
  108. - name: debian-11-master-py3
  109. driver:
  110. image: saltimages/salt-master-py3:debian-11
  111. run_command: /lib/systemd/systemd
  112. verifier:
  113. inputs:
  114. saltmajorversion: 3004
  115. - name: debian-10-master-py3
  116. driver:
  117. image: saltimages/salt-master-py3:debian-10
  118. run_command: /lib/systemd/systemd
  119. verifier:
  120. inputs:
  121. saltmajorversion: 3004
  122. - name: debian-9-master-py3
  123. driver:
  124. image: saltimages/salt-master-py3:debian-9
  125. run_command: /lib/systemd/systemd
  126. verifier:
  127. inputs:
  128. saltmajorversion: 3004
  129. - name: ubuntu-2204-master-py3
  130. driver:
  131. image: saltimages/salt-master-py3:ubuntu-22.04
  132. run_command: /lib/systemd/systemd
  133. verifier:
  134. inputs:
  135. saltmajorversion: 3004
  136. - name: ubuntu-2004-master-py3
  137. driver:
  138. image: saltimages/salt-master-py3:ubuntu-20.04
  139. run_command: /lib/systemd/systemd
  140. verifier:
  141. inputs:
  142. saltmajorversion: 3004
  143. - name: ubuntu-1804-master-py3
  144. driver:
  145. image: saltimages/salt-master-py3:ubuntu-18.04
  146. run_command: /lib/systemd/systemd
  147. verifier:
  148. inputs:
  149. saltmajorversion: 3004
  150. - name: centos-stream8-master-py3
  151. driver:
  152. image: saltimages/salt-master-py3:centos-stream8
  153. verifier:
  154. inputs:
  155. saltmajorversion: 3004
  156. - name: centos-7-master-py3
  157. driver:
  158. image: saltimages/salt-master-py3:centos-7
  159. verifier:
  160. inputs:
  161. saltmajorversion: 3004
  162. - name: fedora-36-master-py3
  163. driver:
  164. image: saltimages/salt-master-py3:fedora-36
  165. verifier:
  166. inputs:
  167. saltmajorversion: 3004
  168. - name: fedora-35-master-py3
  169. driver:
  170. image: saltimages/salt-master-py3:fedora-35
  171. verifier:
  172. inputs:
  173. saltmajorversion: 3004
  174. - name: opensuse-leap-153-master-py3
  175. driver:
  176. image: saltimages/salt-master-py3:opensuse-leap-15.3
  177. # Workaround to avoid intermittent failures on `opensuse-leap-15.3`:
  178. # => SCP did not finish successfully (255): (Net::SCP::Error)
  179. transport:
  180. max_ssh_sessions: 1
  181. verifier:
  182. inputs:
  183. saltmajorversion: 3004
  184. - name: opensuse-tmbl-latest-master-py3
  185. driver:
  186. image: saltimages/salt-master-py3:opensuse-tumbleweed-latest
  187. # Workaround to avoid intermittent failures on `opensuse-tumbleweed`:
  188. # => SCP did not finish successfully (255): (Net::SCP::Error)
  189. transport:
  190. max_ssh_sessions: 1
  191. verifier:
  192. inputs:
  193. saltmajorversion: 3004
  194. - name: amazonlinux-2-master-py3
  195. driver:
  196. image: saltimages/salt-master-py3:amazonlinux-2
  197. verifier:
  198. inputs:
  199. saltmajorversion: 3004
  200. - name: oraclelinux-8-master-py3
  201. driver:
  202. image: saltimages/salt-master-py3:oraclelinux-8
  203. verifier:
  204. inputs:
  205. saltmajorversion: 3004
  206. - name: oraclelinux-7-master-py3
  207. driver:
  208. image: saltimages/salt-master-py3:oraclelinux-7
  209. verifier:
  210. inputs:
  211. saltmajorversion: 3004
  212. - name: arch-base-latest-master-py3
  213. driver:
  214. image: saltimages/salt-master-py3:arch-base-latest
  215. verifier:
  216. inputs:
  217. saltmajorversion: 3004
  218. - name: gentoo-stage3-latest-master-py3
  219. driver:
  220. image: saltimages/salt-master-py3:gentoo-stage3-latest
  221. run_command: /sbin/init
  222. verifier:
  223. inputs:
  224. saltmajorversion: 3004
  225. - name: gentoo-stage3-systemd-master-py3
  226. driver:
  227. image: saltimages/salt-master-py3:gentoo-stage3-systemd
  228. verifier:
  229. inputs:
  230. saltmajorversion: 3004
  231. - name: almalinux-8-master-py3
  232. driver:
  233. image: saltimages/salt-master-py3:almalinux-8
  234. verifier:
  235. inputs:
  236. saltmajorversion: 3004
  237. - name: rockylinux-8-master-py3
  238. driver:
  239. image: saltimages/salt-master-py3:rockylinux-8
  240. verifier:
  241. inputs:
  242. saltmajorversion: 3004
  243. ## SALT `3004.1`
  244. - name: debian-11-3004-1-py3
  245. driver:
  246. image: saltimages/salt-3004.1-py3:debian-11
  247. run_command: /lib/systemd/systemd
  248. verifier:
  249. inputs:
  250. saltmajorversion: 3004
  251. - name: debian-10-3004-1-py3
  252. driver:
  253. image: saltimages/salt-3004.1-py3:debian-10
  254. run_command: /lib/systemd/systemd
  255. verifier:
  256. inputs:
  257. saltmajorversion: 3004
  258. - name: debian-9-3004-1-py3
  259. driver:
  260. image: saltimages/salt-3004.1-py3:debian-9
  261. run_command: /lib/systemd/systemd
  262. verifier:
  263. inputs:
  264. saltmajorversion: 3004
  265. - name: ubuntu-2204-3004-1-py3
  266. driver:
  267. image: saltimages/salt-3004.1-py3:ubuntu-22.04
  268. run_command: /lib/systemd/systemd
  269. verifier:
  270. inputs:
  271. saltmajorversion: 3004
  272. - name: ubuntu-2004-3004-1-py3
  273. driver:
  274. image: saltimages/salt-3004.1-py3:ubuntu-20.04
  275. run_command: /lib/systemd/systemd
  276. verifier:
  277. inputs:
  278. saltmajorversion: 3004
  279. - name: ubuntu-1804-3004-1-py3
  280. driver:
  281. image: saltimages/salt-3004.1-py3:ubuntu-18.04
  282. run_command: /lib/systemd/systemd
  283. verifier:
  284. inputs:
  285. saltmajorversion: 3004
  286. - name: centos-stream8-3004-1-py3
  287. driver:
  288. image: saltimages/salt-3004.1-py3:centos-stream8
  289. verifier:
  290. inputs:
  291. saltmajorversion: 3004
  292. - name: centos-7-3004-1-py3
  293. driver:
  294. image: saltimages/salt-3004.1-py3:centos-7
  295. verifier:
  296. inputs:
  297. saltmajorversion: 3004
  298. - name: fedora-36-3004-1-py3
  299. driver:
  300. image: saltimages/salt-3004.1-py3:fedora-36
  301. verifier:
  302. inputs:
  303. saltmajorversion: 3004
  304. - name: fedora-35-3004-1-py3
  305. driver:
  306. image: saltimages/salt-3004.1-py3:fedora-35
  307. verifier:
  308. inputs:
  309. saltmajorversion: 3004
  310. - name: amazonlinux-2-3004-1-py3
  311. driver:
  312. image: saltimages/salt-3004.1-py3:amazonlinux-2
  313. verifier:
  314. inputs:
  315. saltmajorversion: 3004
  316. - name: oraclelinux-8-3004-1-py3
  317. driver:
  318. image: saltimages/salt-3004.1-py3:oraclelinux-8
  319. verifier:
  320. inputs:
  321. saltmajorversion: 3004
  322. - name: oraclelinux-7-3004-1-py3
  323. driver:
  324. image: saltimages/salt-3004.1-py3:oraclelinux-7
  325. verifier:
  326. inputs:
  327. saltmajorversion: 3004
  328. - name: arch-base-latest-3004-1-py3
  329. driver:
  330. image: saltimages/salt-3004.1-py3:arch-base-latest
  331. verifier:
  332. inputs:
  333. saltmajorversion: 3004
  334. - name: gentoo-stage3-latest-3004-1-py3
  335. driver:
  336. image: saltimages/salt-3004.1-py3:gentoo-stage3-latest
  337. run_command: /sbin/init
  338. verifier:
  339. inputs:
  340. saltmajorversion: 3004
  341. - name: gentoo-stage3-systemd-3004-1-py3
  342. driver:
  343. image: saltimages/salt-3004.1-py3:gentoo-stage3-systemd
  344. verifier:
  345. inputs:
  346. saltmajorversion: 3004
  347. - name: almalinux-8-3004-1-py3
  348. driver:
  349. image: saltimages/salt-3004.1-py3:almalinux-8
  350. verifier:
  351. inputs:
  352. saltmajorversion: 3004
  353. - name: rockylinux-8-3004-1-py3
  354. driver:
  355. image: saltimages/salt-3004.1-py3:rockylinux-8
  356. verifier:
  357. inputs:
  358. saltmajorversion: 3004
  359. ## SALT `3004.0`
  360. - name: opensuse-leap-153-3004-0-py3
  361. driver:
  362. image: saltimages/salt-3004.0-py3:opensuse-leap-15.3
  363. # Workaround to avoid intermittent failures on `opensuse-leap-15.3`:
  364. # => SCP did not finish successfully (255): (Net::SCP::Error)
  365. transport:
  366. max_ssh_sessions: 1
  367. verifier:
  368. inputs:
  369. saltmajorversion: 3004
  370. - name: opensuse-tmbl-latest-3004-0-py3
  371. driver:
  372. image: saltimages/salt-3004.0-py3:opensuse-tumbleweed-latest
  373. # Workaround to avoid intermittent failures on `opensuse-tumbleweed`:
  374. # => SCP did not finish successfully (255): (Net::SCP::Error)
  375. transport:
  376. max_ssh_sessions: 1
  377. verifier:
  378. inputs:
  379. saltmajorversion: 3004
  380. ## SALT `3003.4`
  381. - name: debian-10-3003-4-py3
  382. driver:
  383. image: saltimages/salt-3003.4-py3:debian-10
  384. run_command: /lib/systemd/systemd
  385. verifier:
  386. inputs:
  387. saltmajorversion: 3003
  388. - name: debian-9-3003-4-py3
  389. driver:
  390. image: saltimages/salt-3003.4-py3:debian-9
  391. run_command: /lib/systemd/systemd
  392. verifier:
  393. inputs:
  394. saltmajorversion: 3003
  395. - name: ubuntu-2004-3003-4-py3
  396. driver:
  397. image: saltimages/salt-3003.4-py3:ubuntu-20.04
  398. run_command: /lib/systemd/systemd
  399. verifier:
  400. inputs:
  401. saltmajorversion: 3003
  402. - name: ubuntu-1804-3003-4-py3
  403. driver:
  404. image: saltimages/salt-3003.4-py3:ubuntu-18.04
  405. run_command: /lib/systemd/systemd
  406. verifier:
  407. inputs:
  408. saltmajorversion: 3003
  409. - name: centos-stream8-3003-4-py3
  410. driver:
  411. image: saltimages/salt-3003.4-py3:centos-stream8
  412. verifier:
  413. inputs:
  414. saltmajorversion: 3003
  415. - name: centos-7-3003-4-py3
  416. driver:
  417. image: saltimages/salt-3003.4-py3:centos-7
  418. verifier:
  419. inputs:
  420. saltmajorversion: 3003
  421. - name: amazonlinux-2-3003-4-py3
  422. driver:
  423. image: saltimages/salt-3003.4-py3:amazonlinux-2
  424. verifier:
  425. inputs:
  426. saltmajorversion: 3003
  427. - name: oraclelinux-8-3003-4-py3
  428. driver:
  429. image: saltimages/salt-3003.4-py3:oraclelinux-8
  430. verifier:
  431. inputs:
  432. saltmajorversion: 3003
  433. - name: oraclelinux-7-3003-4-py3
  434. driver:
  435. image: saltimages/salt-3003.4-py3:oraclelinux-7
  436. verifier:
  437. inputs:
  438. saltmajorversion: 3003
  439. - name: almalinux-8-3003-4-py3
  440. driver:
  441. image: saltimages/salt-3003.4-py3:almalinux-8
  442. verifier:
  443. inputs:
  444. saltmajorversion: 3003
  445. verifier:
  446. # https://www.inspec.io/
  447. name: inspec
  448. sudo: true
  449. reporter:
  450. # cli, documentation, html, progress, json, json-min, json-rspec, junit
  451. - cli
  452. suites:
  453. - name: default
  454. provisioner:
  455. state_top:
  456. base:
  457. '*':
  458. - salt._mapdata
  459. - salt.pkgrepo
  460. - salt.master
  461. - salt.minion
  462. verifier:
  463. inspec_tests:
  464. - path: test/integration/default