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

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