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

489 lines
13KB

  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 `3006.4`
  244. - name: debian-11-3006-4-py3
  245. driver:
  246. image: saltimages/salt-3006.4-py3:debian-11
  247. run_command: /lib/systemd/systemd
  248. verifier:
  249. inputs:
  250. saltmajorversion: 3006
  251. - name: debian-10-3006-4-py3
  252. driver:
  253. image: saltimages/salt-3006.4-py3:debian-10
  254. run_command: /lib/systemd/systemd
  255. verifier:
  256. inputs:
  257. saltmajorversion: 3006
  258. ## SALT `3004.1`
  259. - name: debian-11-3004-1-py3
  260. driver:
  261. image: saltimages/salt-3004.1-py3:debian-11
  262. run_command: /lib/systemd/systemd
  263. verifier:
  264. inputs:
  265. saltmajorversion: 3004
  266. - name: debian-10-3004-1-py3
  267. driver:
  268. image: saltimages/salt-3004.1-py3:debian-10
  269. run_command: /lib/systemd/systemd
  270. verifier:
  271. inputs:
  272. saltmajorversion: 3004
  273. - name: debian-9-3004-1-py3
  274. driver:
  275. image: saltimages/salt-3004.1-py3:debian-9
  276. run_command: /lib/systemd/systemd
  277. verifier:
  278. inputs:
  279. saltmajorversion: 3004
  280. - name: ubuntu-2204-3004-1-py3
  281. driver:
  282. image: saltimages/salt-3004.1-py3:ubuntu-22.04
  283. run_command: /lib/systemd/systemd
  284. verifier:
  285. inputs:
  286. saltmajorversion: 3004
  287. - name: ubuntu-2004-3004-1-py3
  288. driver:
  289. image: saltimages/salt-3004.1-py3:ubuntu-20.04
  290. run_command: /lib/systemd/systemd
  291. verifier:
  292. inputs:
  293. saltmajorversion: 3004
  294. - name: ubuntu-1804-3004-1-py3
  295. driver:
  296. image: saltimages/salt-3004.1-py3:ubuntu-18.04
  297. run_command: /lib/systemd/systemd
  298. verifier:
  299. inputs:
  300. saltmajorversion: 3004
  301. - name: centos-stream8-3004-1-py3
  302. driver:
  303. image: saltimages/salt-3004.1-py3:centos-stream8
  304. verifier:
  305. inputs:
  306. saltmajorversion: 3004
  307. - name: centos-7-3004-1-py3
  308. driver:
  309. image: saltimages/salt-3004.1-py3:centos-7
  310. verifier:
  311. inputs:
  312. saltmajorversion: 3004
  313. - name: fedora-36-3004-1-py3
  314. driver:
  315. image: saltimages/salt-3004.1-py3:fedora-36
  316. verifier:
  317. inputs:
  318. saltmajorversion: 3004
  319. - name: fedora-35-3004-1-py3
  320. driver:
  321. image: saltimages/salt-3004.1-py3:fedora-35
  322. verifier:
  323. inputs:
  324. saltmajorversion: 3004
  325. - name: amazonlinux-2-3004-1-py3
  326. driver:
  327. image: saltimages/salt-3004.1-py3:amazonlinux-2
  328. verifier:
  329. inputs:
  330. saltmajorversion: 3004
  331. - name: oraclelinux-8-3004-1-py3
  332. driver:
  333. image: saltimages/salt-3004.1-py3:oraclelinux-8
  334. verifier:
  335. inputs:
  336. saltmajorversion: 3004
  337. - name: oraclelinux-7-3004-1-py3
  338. driver:
  339. image: saltimages/salt-3004.1-py3:oraclelinux-7
  340. verifier:
  341. inputs:
  342. saltmajorversion: 3004
  343. - name: arch-base-latest-3004-1-py3
  344. driver:
  345. image: saltimages/salt-3004.1-py3:arch-base-latest
  346. verifier:
  347. inputs:
  348. saltmajorversion: 3004
  349. - name: gentoo-stage3-latest-3004-1-py3
  350. driver:
  351. image: saltimages/salt-3004.1-py3:gentoo-stage3-latest
  352. run_command: /sbin/init
  353. verifier:
  354. inputs:
  355. saltmajorversion: 3004
  356. - name: gentoo-stage3-systemd-3004-1-py3
  357. driver:
  358. image: saltimages/salt-3004.1-py3:gentoo-stage3-systemd
  359. verifier:
  360. inputs:
  361. saltmajorversion: 3004
  362. - name: almalinux-8-3004-1-py3
  363. driver:
  364. image: saltimages/salt-3004.1-py3:almalinux-8
  365. verifier:
  366. inputs:
  367. saltmajorversion: 3004
  368. - name: rockylinux-8-3004-1-py3
  369. driver:
  370. image: saltimages/salt-3004.1-py3:rockylinux-8
  371. verifier:
  372. inputs:
  373. saltmajorversion: 3004
  374. ## SALT `3004.0`
  375. - name: opensuse-leap-153-3004-0-py3
  376. driver:
  377. image: saltimages/salt-3004.0-py3:opensuse-leap-15.3
  378. # Workaround to avoid intermittent failures on `opensuse-leap-15.3`:
  379. # => SCP did not finish successfully (255): (Net::SCP::Error)
  380. transport:
  381. max_ssh_sessions: 1
  382. verifier:
  383. inputs:
  384. saltmajorversion: 3004
  385. - name: opensuse-tmbl-latest-3004-0-py3
  386. driver:
  387. image: saltimages/salt-3004.0-py3:opensuse-tumbleweed-latest
  388. # Workaround to avoid intermittent failures on `opensuse-tumbleweed`:
  389. # => SCP did not finish successfully (255): (Net::SCP::Error)
  390. transport:
  391. max_ssh_sessions: 1
  392. verifier:
  393. inputs:
  394. saltmajorversion: 3004
  395. ## SALT `3003.4`
  396. - name: debian-10-3003-4-py3
  397. driver:
  398. image: saltimages/salt-3003.4-py3:debian-10
  399. run_command: /lib/systemd/systemd
  400. verifier:
  401. inputs:
  402. saltmajorversion: 3003
  403. - name: debian-9-3003-4-py3
  404. driver:
  405. image: saltimages/salt-3003.4-py3:debian-9
  406. run_command: /lib/systemd/systemd
  407. verifier:
  408. inputs:
  409. saltmajorversion: 3003
  410. - name: ubuntu-2004-3003-4-py3
  411. driver:
  412. image: saltimages/salt-3003.4-py3:ubuntu-20.04
  413. run_command: /lib/systemd/systemd
  414. verifier:
  415. inputs:
  416. saltmajorversion: 3003
  417. - name: ubuntu-1804-3003-4-py3
  418. driver:
  419. image: saltimages/salt-3003.4-py3:ubuntu-18.04
  420. run_command: /lib/systemd/systemd
  421. verifier:
  422. inputs:
  423. saltmajorversion: 3003
  424. - name: centos-stream8-3003-4-py3
  425. driver:
  426. image: saltimages/salt-3003.4-py3:centos-stream8
  427. verifier:
  428. inputs:
  429. saltmajorversion: 3003
  430. - name: centos-7-3003-4-py3
  431. driver:
  432. image: saltimages/salt-3003.4-py3:centos-7
  433. verifier:
  434. inputs:
  435. saltmajorversion: 3003
  436. - name: amazonlinux-2-3003-4-py3
  437. driver:
  438. image: saltimages/salt-3003.4-py3:amazonlinux-2
  439. verifier:
  440. inputs:
  441. saltmajorversion: 3003
  442. - name: oraclelinux-8-3003-4-py3
  443. driver:
  444. image: saltimages/salt-3003.4-py3:oraclelinux-8
  445. verifier:
  446. inputs:
  447. saltmajorversion: 3003
  448. - name: oraclelinux-7-3003-4-py3
  449. driver:
  450. image: saltimages/salt-3003.4-py3:oraclelinux-7
  451. verifier:
  452. inputs:
  453. saltmajorversion: 3003
  454. - name: almalinux-8-3003-4-py3
  455. driver:
  456. image: saltimages/salt-3003.4-py3:almalinux-8
  457. verifier:
  458. inputs:
  459. saltmajorversion: 3003
  460. verifier:
  461. # https://www.inspec.io/
  462. name: inspec
  463. sudo: true
  464. reporter:
  465. # cli, documentation, html, progress, json, json-min, json-rspec, junit
  466. - cli
  467. suites:
  468. - name: default
  469. provisioner:
  470. state_top:
  471. base:
  472. '*':
  473. - salt._mapdata
  474. - salt.pkgrepo
  475. - salt.master
  476. - salt.minion
  477. verifier:
  478. inspec_tests:
  479. - path: test/integration/default