Saltstack Official FirewallD Formula
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

463 lines
15KB

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