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

539 lines
14KB

  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: fedora-34-master-py3
  175. driver:
  176. image: saltimages/salt-master-py3:fedora-34
  177. verifier:
  178. inputs:
  179. saltmajorversion: 3004
  180. - name: opensuse-leap-153-master-py3
  181. driver:
  182. image: saltimages/salt-master-py3:opensuse-leap-15.3
  183. # Workaround to avoid intermittent failures on `opensuse-leap-15.3`:
  184. # => SCP did not finish successfully (255): (Net::SCP::Error)
  185. transport:
  186. max_ssh_sessions: 1
  187. verifier:
  188. inputs:
  189. saltmajorversion: 3004
  190. - name: opensuse-tmbl-latest-master-py3
  191. driver:
  192. image: saltimages/salt-master-py3:opensuse-tumbleweed-latest
  193. # Workaround to avoid intermittent failures on `opensuse-tumbleweed`:
  194. # => SCP did not finish successfully (255): (Net::SCP::Error)
  195. transport:
  196. max_ssh_sessions: 1
  197. verifier:
  198. inputs:
  199. saltmajorversion: 3004
  200. - name: amazonlinux-2-master-py3
  201. driver:
  202. image: saltimages/salt-master-py3:amazonlinux-2
  203. verifier:
  204. inputs:
  205. saltmajorversion: 3004
  206. - name: oraclelinux-8-master-py3
  207. driver:
  208. image: saltimages/salt-master-py3:oraclelinux-8
  209. verifier:
  210. inputs:
  211. saltmajorversion: 3004
  212. - name: oraclelinux-7-master-py3
  213. driver:
  214. image: saltimages/salt-master-py3:oraclelinux-7
  215. verifier:
  216. inputs:
  217. saltmajorversion: 3004
  218. - name: arch-base-latest-master-py3
  219. driver:
  220. image: saltimages/salt-master-py3:arch-base-latest
  221. verifier:
  222. inputs:
  223. saltmajorversion: 3004
  224. - name: gentoo-stage3-latest-master-py3
  225. driver:
  226. image: saltimages/salt-master-py3:gentoo-stage3-latest
  227. run_command: /sbin/init
  228. verifier:
  229. inputs:
  230. saltmajorversion: 3004
  231. - name: gentoo-stage3-systemd-master-py3
  232. driver:
  233. image: saltimages/salt-master-py3:gentoo-stage3-systemd
  234. verifier:
  235. inputs:
  236. saltmajorversion: 3004
  237. - name: almalinux-8-master-py3
  238. driver:
  239. image: saltimages/salt-master-py3:almalinux-8
  240. verifier:
  241. inputs:
  242. saltmajorversion: 3004
  243. - name: rockylinux-8-master-py3
  244. driver:
  245. image: saltimages/salt-master-py3:rockylinux-8
  246. verifier:
  247. inputs:
  248. saltmajorversion: 3004
  249. ## SALT `3004.1`
  250. - name: debian-11-3004-1-py3
  251. driver:
  252. image: saltimages/salt-3004.1-py3:debian-11
  253. run_command: /lib/systemd/systemd
  254. verifier:
  255. inputs:
  256. saltmajorversion: 3004
  257. - name: debian-10-3004-1-py3
  258. driver:
  259. image: saltimages/salt-3004.1-py3:debian-10
  260. run_command: /lib/systemd/systemd
  261. verifier:
  262. inputs:
  263. saltmajorversion: 3004
  264. - name: debian-9-3004-1-py3
  265. driver:
  266. image: saltimages/salt-3004.1-py3:debian-9
  267. run_command: /lib/systemd/systemd
  268. verifier:
  269. inputs:
  270. saltmajorversion: 3004
  271. - name: ubuntu-2204-3004-1-py3
  272. driver:
  273. image: saltimages/salt-3004.1-py3:ubuntu-22.04
  274. run_command: /lib/systemd/systemd
  275. verifier:
  276. inputs:
  277. saltmajorversion: 3004
  278. - name: ubuntu-2004-3004-1-py3
  279. driver:
  280. image: saltimages/salt-3004.1-py3:ubuntu-20.04
  281. run_command: /lib/systemd/systemd
  282. verifier:
  283. inputs:
  284. saltmajorversion: 3004
  285. - name: ubuntu-1804-3004-1-py3
  286. driver:
  287. image: saltimages/salt-3004.1-py3:ubuntu-18.04
  288. run_command: /lib/systemd/systemd
  289. verifier:
  290. inputs:
  291. saltmajorversion: 3004
  292. - name: centos-stream8-3004-1-py3
  293. driver:
  294. image: saltimages/salt-3004.1-py3:centos-stream8
  295. verifier:
  296. inputs:
  297. saltmajorversion: 3004
  298. - name: centos-7-3004-1-py3
  299. driver:
  300. image: saltimages/salt-3004.1-py3:centos-7
  301. verifier:
  302. inputs:
  303. saltmajorversion: 3004
  304. - name: fedora-36-3004-1-py3
  305. driver:
  306. image: saltimages/salt-3004.1-py3:fedora-36
  307. verifier:
  308. inputs:
  309. saltmajorversion: 3004
  310. - name: fedora-35-3004-1-py3
  311. driver:
  312. image: saltimages/salt-3004.1-py3:fedora-35
  313. verifier:
  314. inputs:
  315. saltmajorversion: 3004
  316. - name: fedora-34-3004-1-py3
  317. driver:
  318. image: saltimages/salt-3004.1-py3:fedora-34
  319. verifier:
  320. inputs:
  321. saltmajorversion: 3004
  322. - name: amazonlinux-2-3004-1-py3
  323. driver:
  324. image: saltimages/salt-3004.1-py3:amazonlinux-2
  325. verifier:
  326. inputs:
  327. saltmajorversion: 3004
  328. - name: oraclelinux-8-3004-1-py3
  329. driver:
  330. image: saltimages/salt-3004.1-py3:oraclelinux-8
  331. verifier:
  332. inputs:
  333. saltmajorversion: 3004
  334. - name: oraclelinux-7-3004-1-py3
  335. driver:
  336. image: saltimages/salt-3004.1-py3:oraclelinux-7
  337. verifier:
  338. inputs:
  339. saltmajorversion: 3004
  340. - name: arch-base-latest-3004-1-py3
  341. driver:
  342. image: saltimages/salt-3004.1-py3:arch-base-latest
  343. verifier:
  344. inputs:
  345. saltmajorversion: 3004
  346. - name: gentoo-stage3-latest-3004-1-py3
  347. driver:
  348. image: saltimages/salt-3004.1-py3:gentoo-stage3-latest
  349. run_command: /sbin/init
  350. verifier:
  351. inputs:
  352. saltmajorversion: 3004
  353. - name: gentoo-stage3-systemd-3004-1-py3
  354. driver:
  355. image: saltimages/salt-3004.1-py3:gentoo-stage3-systemd
  356. verifier:
  357. inputs:
  358. saltmajorversion: 3004
  359. - name: almalinux-8-3004-1-py3
  360. driver:
  361. image: saltimages/salt-3004.1-py3:almalinux-8
  362. verifier:
  363. inputs:
  364. saltmajorversion: 3004
  365. - name: rockylinux-8-3004-1-py3
  366. driver:
  367. image: saltimages/salt-3004.1-py3:rockylinux-8
  368. verifier:
  369. inputs:
  370. saltmajorversion: 3004
  371. ## SALT `3004.0`
  372. - name: opensuse-leap-153-3004-0-py3
  373. driver:
  374. image: saltimages/salt-3004.0-py3:opensuse-leap-15.3
  375. # Workaround to avoid intermittent failures on `opensuse-leap-15.3`:
  376. # => SCP did not finish successfully (255): (Net::SCP::Error)
  377. transport:
  378. max_ssh_sessions: 1
  379. verifier:
  380. inputs:
  381. saltmajorversion: 3004
  382. - name: opensuse-tmbl-latest-3004-0-py3
  383. driver:
  384. image: saltimages/salt-3004.0-py3:opensuse-tumbleweed-latest
  385. # Workaround to avoid intermittent failures on `opensuse-tumbleweed`:
  386. # => SCP did not finish successfully (255): (Net::SCP::Error)
  387. transport:
  388. max_ssh_sessions: 1
  389. verifier:
  390. inputs:
  391. saltmajorversion: 3004
  392. ## SALT `3003.4`
  393. - name: debian-10-3003-4-py3
  394. driver:
  395. image: saltimages/salt-3003.4-py3:debian-10
  396. run_command: /lib/systemd/systemd
  397. verifier:
  398. inputs:
  399. saltmajorversion: 3003
  400. - name: debian-9-3003-4-py3
  401. driver:
  402. image: saltimages/salt-3003.4-py3:debian-9
  403. run_command: /lib/systemd/systemd
  404. verifier:
  405. inputs:
  406. saltmajorversion: 3003
  407. - name: ubuntu-2004-3003-4-py3
  408. driver:
  409. image: saltimages/salt-3003.4-py3:ubuntu-20.04
  410. run_command: /lib/systemd/systemd
  411. verifier:
  412. inputs:
  413. saltmajorversion: 3003
  414. - name: ubuntu-1804-3003-4-py3
  415. driver:
  416. image: saltimages/salt-3003.4-py3:ubuntu-18.04
  417. run_command: /lib/systemd/systemd
  418. verifier:
  419. inputs:
  420. saltmajorversion: 3003
  421. - name: centos-stream8-3003-4-py3
  422. driver:
  423. image: saltimages/salt-3003.4-py3:centos-stream8
  424. verifier:
  425. inputs:
  426. saltmajorversion: 3003
  427. - name: centos-7-3003-4-py3
  428. driver:
  429. image: saltimages/salt-3003.4-py3:centos-7
  430. verifier:
  431. inputs:
  432. saltmajorversion: 3003
  433. - name: amazonlinux-2-3003-4-py3
  434. driver:
  435. image: saltimages/salt-3003.4-py3:amazonlinux-2
  436. verifier:
  437. inputs:
  438. saltmajorversion: 3003
  439. - name: oraclelinux-8-3003-4-py3
  440. driver:
  441. image: saltimages/salt-3003.4-py3:oraclelinux-8
  442. verifier:
  443. inputs:
  444. saltmajorversion: 3003
  445. - name: oraclelinux-7-3003-4-py3
  446. driver:
  447. image: saltimages/salt-3003.4-py3:oraclelinux-7
  448. verifier:
  449. inputs:
  450. saltmajorversion: 3003
  451. - name: almalinux-8-3003-4-py3
  452. driver:
  453. image: saltimages/salt-3003.4-py3:almalinux-8
  454. verifier:
  455. inputs:
  456. saltmajorversion: 3003
  457. ## SALT `3002.8`
  458. - name: debian-10-3002-8-py3
  459. driver:
  460. image: saltimages/salt-3002.8-py3:debian-10
  461. run_command: /lib/systemd/systemd
  462. verifier:
  463. inputs:
  464. saltmajorversion: 3002
  465. - name: debian-9-3002-8-py3
  466. driver:
  467. image: saltimages/salt-3002.8-py3:debian-9
  468. run_command: /lib/systemd/systemd
  469. verifier:
  470. inputs:
  471. saltmajorversion: 3002
  472. - name: ubuntu-2004-3002-8-py3
  473. driver:
  474. image: saltimages/salt-3002.8-py3:ubuntu-20.04
  475. run_command: /lib/systemd/systemd
  476. verifier:
  477. inputs:
  478. saltmajorversion: 3002
  479. - name: ubuntu-1804-3002-8-py3
  480. driver:
  481. image: saltimages/salt-3002.8-py3:ubuntu-18.04
  482. run_command: /lib/systemd/systemd
  483. verifier:
  484. inputs:
  485. saltmajorversion: 3002
  486. - name: centos-7-3002-8-py3
  487. driver:
  488. image: saltimages/salt-3002.8-py3:centos-7
  489. verifier:
  490. inputs:
  491. saltmajorversion: 3002
  492. - name: amazonlinux-2-3002-8-py3
  493. driver:
  494. image: saltimages/salt-3002.8-py3:amazonlinux-2
  495. verifier:
  496. inputs:
  497. saltmajorversion: 3002
  498. - name: oraclelinux-8-3002-8-py3
  499. driver:
  500. image: saltimages/salt-3002.8-py3:oraclelinux-8
  501. verifier:
  502. inputs:
  503. saltmajorversion: 3002
  504. - name: oraclelinux-7-3002-8-py3
  505. driver:
  506. image: saltimages/salt-3002.8-py3:oraclelinux-7
  507. verifier:
  508. inputs:
  509. saltmajorversion: 3002
  510. verifier:
  511. # https://www.inspec.io/
  512. name: inspec
  513. sudo: true
  514. reporter:
  515. # cli, documentation, html, progress, json, json-min, json-rspec, junit
  516. - cli
  517. suites:
  518. - name: default
  519. provisioner:
  520. state_top:
  521. base:
  522. '*':
  523. - salt._mapdata
  524. - salt.pkgrepo
  525. - salt.master
  526. - salt.minion
  527. verifier:
  528. inspec_tests:
  529. - path: test/integration/default