Saltstack Official FirewallD Formula
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

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