Saltstack Official Salt Formula
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

582 行
16KB

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