Saltstack Official FirewallD Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

преди 5 години
преди 5 години
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356
  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-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-stream8-master-py3
  84. driver:
  85. image: saltimages/salt-master-py3:centos-stream8
  86. - name: centos-7-master-py3
  87. driver:
  88. image: saltimages/salt-master-py3:centos-7
  89. - name: fedora-35-master-py3
  90. driver:
  91. image: saltimages/salt-master-py3:fedora-35
  92. - name: fedora-34-master-py3
  93. driver:
  94. image: saltimages/salt-master-py3:fedora-34
  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-tmbl-latest-master-py3
  103. driver:
  104. image: saltimages/salt-master-py3:opensuse-tumbleweed-latest
  105. # Workaround to avoid intermittent failures on `opensuse-tumbleweed`:
  106. # => SCP did not finish successfully (255): (Net::SCP::Error)
  107. transport:
  108. max_ssh_sessions: 1
  109. - name: amazonlinux-2-master-py3
  110. driver:
  111. image: saltimages/salt-master-py3:amazonlinux-2
  112. - name: oraclelinux-8-master-py3
  113. driver:
  114. image: saltimages/salt-master-py3:oraclelinux-8
  115. - name: oraclelinux-7-master-py3
  116. driver:
  117. image: saltimages/salt-master-py3:oraclelinux-7
  118. - name: arch-base-latest-master-py3
  119. driver:
  120. image: saltimages/salt-master-py3:arch-base-latest
  121. - name: gentoo-stage3-latest-master-py3
  122. driver:
  123. image: saltimages/salt-master-py3:gentoo-stage3-latest
  124. run_command: /sbin/init
  125. - name: gentoo-stage3-systemd-master-py3
  126. driver:
  127. image: saltimages/salt-master-py3:gentoo-stage3-systemd
  128. - name: almalinux-8-master-py3
  129. driver:
  130. image: saltimages/salt-master-py3:almalinux-8
  131. - name: rockylinux-8-master-py3
  132. driver:
  133. image: saltimages/salt-master-py3:rockylinux-8
  134. ## SALT `3004.0`
  135. - name: debian-11-3004-0-py3
  136. driver:
  137. image: saltimages/salt-3004.0-py3:debian-11
  138. run_command: /lib/systemd/systemd
  139. - name: debian-10-3004-0-py3
  140. driver:
  141. image: saltimages/salt-3004.0-py3:debian-10
  142. run_command: /lib/systemd/systemd
  143. - name: debian-9-3004-0-py3
  144. driver:
  145. image: saltimages/salt-3004.0-py3:debian-9
  146. run_command: /lib/systemd/systemd
  147. - name: ubuntu-2004-3004-0-py3
  148. driver:
  149. image: saltimages/salt-3004.0-py3:ubuntu-20.04
  150. run_command: /lib/systemd/systemd
  151. - name: ubuntu-1804-3004-0-py3
  152. driver:
  153. image: saltimages/salt-3004.0-py3:ubuntu-18.04
  154. run_command: /lib/systemd/systemd
  155. - name: centos-stream8-3004-0-py3
  156. driver:
  157. image: saltimages/salt-3004.0-py3:centos-stream8
  158. - name: centos-7-3004-0-py3
  159. driver:
  160. image: saltimages/salt-3004.0-py3:centos-7
  161. - name: fedora-35-3004-0-py3
  162. driver:
  163. image: saltimages/salt-3004.0-py3:fedora-35
  164. - name: fedora-34-3004-0-py3
  165. driver:
  166. image: saltimages/salt-3004.0-py3:fedora-34
  167. - name: opensuse-leap-153-3004-0-py3
  168. driver:
  169. image: saltimages/salt-3004.0-py3:opensuse-leap-15.3
  170. # Workaround to avoid intermittent failures on `opensuse-leap-15.3`:
  171. # => SCP did not finish successfully (255): (Net::SCP::Error)
  172. transport:
  173. max_ssh_sessions: 1
  174. - name: opensuse-tmbl-latest-3004-0-py3
  175. driver:
  176. image: saltimages/salt-3004.0-py3:opensuse-tumbleweed-latest
  177. # Workaround to avoid intermittent failures on `opensuse-tumbleweed`:
  178. # => SCP did not finish successfully (255): (Net::SCP::Error)
  179. transport:
  180. max_ssh_sessions: 1
  181. - name: amazonlinux-2-3004-0-py3
  182. driver:
  183. image: saltimages/salt-3004.0-py3:amazonlinux-2
  184. - name: oraclelinux-8-3004-0-py3
  185. driver:
  186. image: saltimages/salt-3004.0-py3:oraclelinux-8
  187. - name: oraclelinux-7-3004-0-py3
  188. driver:
  189. image: saltimages/salt-3004.0-py3:oraclelinux-7
  190. - name: arch-base-latest-3004-0-py3
  191. driver:
  192. image: saltimages/salt-3004.0-py3:arch-base-latest
  193. - name: gentoo-stage3-latest-3004-0-py3
  194. driver:
  195. image: saltimages/salt-3004.0-py3:gentoo-stage3-latest
  196. run_command: /sbin/init
  197. - name: gentoo-stage3-systemd-3004-0-py3
  198. driver:
  199. image: saltimages/salt-3004.0-py3:gentoo-stage3-systemd
  200. - name: almalinux-8-3004-0-py3
  201. driver:
  202. image: saltimages/salt-3004.0-py3:almalinux-8
  203. - name: rockylinux-8-3004-0-py3
  204. driver:
  205. image: saltimages/salt-3004.0-py3:rockylinux-8
  206. ## SALT `3003.3`
  207. - name: debian-10-3003-3-py3
  208. driver:
  209. image: saltimages/salt-3003.3-py3:debian-10
  210. run_command: /lib/systemd/systemd
  211. - name: debian-9-3003-3-py3
  212. driver:
  213. image: saltimages/salt-3003.3-py3:debian-9
  214. run_command: /lib/systemd/systemd
  215. - name: ubuntu-2004-3003-3-py3
  216. driver:
  217. image: saltimages/salt-3003.3-py3:ubuntu-20.04
  218. run_command: /lib/systemd/systemd
  219. - name: ubuntu-1804-3003-3-py3
  220. driver:
  221. image: saltimages/salt-3003.3-py3:ubuntu-18.04
  222. run_command: /lib/systemd/systemd
  223. - name: centos-stream8-3003-3-py3
  224. driver:
  225. image: saltimages/salt-3003.3-py3:centos-stream8
  226. - name: centos-7-3003-3-py3
  227. driver:
  228. image: saltimages/salt-3003.3-py3:centos-7
  229. - name: fedora-35-3003-3-py3
  230. driver:
  231. image: saltimages/salt-3003.3-py3:fedora-35
  232. - name: fedora-34-3003-3-py3
  233. driver:
  234. image: saltimages/salt-3003.3-py3:fedora-34
  235. - name: opensuse-leap-153-3003-3-py3
  236. driver:
  237. image: saltimages/salt-3003.3-py3:opensuse-leap-15.3
  238. # Workaround to avoid intermittent failures on `opensuse-leap-15.3`:
  239. # => SCP did not finish successfully (255): (Net::SCP::Error)
  240. transport:
  241. max_ssh_sessions: 1
  242. - name: opensuse-tmbl-latest-3003-3-py3
  243. driver:
  244. image: saltimages/salt-3003.3-py3:opensuse-tumbleweed-latest
  245. # Workaround to avoid intermittent failures on `opensuse-tumbleweed`:
  246. # => SCP did not finish successfully (255): (Net::SCP::Error)
  247. transport:
  248. max_ssh_sessions: 1
  249. - name: amazonlinux-2-3003-3-py3
  250. driver:
  251. image: saltimages/salt-3003.3-py3:amazonlinux-2
  252. - name: oraclelinux-8-3003-3-py3
  253. driver:
  254. image: saltimages/salt-3003.3-py3:oraclelinux-8
  255. - name: oraclelinux-7-3003-3-py3
  256. driver:
  257. image: saltimages/salt-3003.3-py3:oraclelinux-7
  258. - name: gentoo-stage3-latest-3003-3-py3
  259. driver:
  260. image: saltimages/salt-3003.3-py3:gentoo-stage3-latest
  261. run_command: /sbin/init
  262. - name: gentoo-stage3-systemd-3003-3-py3
  263. driver:
  264. image: saltimages/salt-3003.3-py3:gentoo-stage3-systemd
  265. - name: almalinux-8-3003-3-py3
  266. driver:
  267. image: saltimages/salt-3003.3-py3:almalinux-8
  268. ## SALT `3002.7`
  269. - name: debian-10-3002-7-py3
  270. driver:
  271. image: saltimages/salt-3002.7-py3:debian-10
  272. run_command: /lib/systemd/systemd
  273. - name: debian-9-3002-7-py3
  274. driver:
  275. image: saltimages/salt-3002.7-py3:debian-9
  276. run_command: /lib/systemd/systemd
  277. - name: ubuntu-2004-3002-7-py3
  278. driver:
  279. image: saltimages/salt-3002.7-py3:ubuntu-20.04
  280. run_command: /lib/systemd/systemd
  281. - name: ubuntu-1804-3002-7-py3
  282. driver:
  283. image: saltimages/salt-3002.7-py3:ubuntu-18.04
  284. run_command: /lib/systemd/systemd
  285. - name: centos-7-3002-7-py3
  286. driver:
  287. image: saltimages/salt-3002.7-py3:centos-7
  288. - name: fedora-35-3002-7-py3
  289. driver:
  290. image: saltimages/salt-3002.7-py3:fedora-35
  291. - name: fedora-34-3002-7-py3
  292. driver:
  293. image: saltimages/salt-3002.7-py3:fedora-34
  294. - name: opensuse-leap-153-3002-7-py3
  295. driver:
  296. image: saltimages/salt-3002.7-py3:opensuse-leap-15.3
  297. # Workaround to avoid intermittent failures on `opensuse-leap-15.3`:
  298. # => SCP did not finish successfully (255): (Net::SCP::Error)
  299. transport:
  300. max_ssh_sessions: 1
  301. - name: opensuse-tmbl-latest-3002-7-py3
  302. driver:
  303. image: saltimages/salt-3002.7-py3:opensuse-tumbleweed-latest
  304. # Workaround to avoid intermittent failures on `opensuse-tumbleweed`:
  305. # => SCP did not finish successfully (255): (Net::SCP::Error)
  306. transport:
  307. max_ssh_sessions: 1
  308. - name: amazonlinux-2-3002-7-py3
  309. driver:
  310. image: saltimages/salt-3002.7-py3:amazonlinux-2
  311. - name: oraclelinux-8-3002-7-py3
  312. driver:
  313. image: saltimages/salt-3002.7-py3:oraclelinux-8
  314. - name: oraclelinux-7-3002-7-py3
  315. driver:
  316. image: saltimages/salt-3002.7-py3:oraclelinux-7
  317. - name: gentoo-stage3-latest-3002-7-py3
  318. driver:
  319. image: saltimages/salt-3002.7-py3:gentoo-stage3-latest
  320. run_command: /sbin/init
  321. - name: gentoo-stage3-systemd-3002-7-py3
  322. driver:
  323. image: saltimages/salt-3002.7-py3:gentoo-stage3-systemd
  324. verifier:
  325. # https://www.inspec.io/
  326. name: inspec
  327. sudo: true
  328. reporter:
  329. # cli, documentation, html, progress, json, json-min, json-rspec, junit
  330. - cli
  331. suites:
  332. - name: default
  333. provisioner:
  334. state_top:
  335. base:
  336. '*':
  337. - firewalld._mapdata
  338. - firewalld
  339. pillars:
  340. top.sls:
  341. base:
  342. '*':
  343. - firewalld
  344. pillars_from_files:
  345. firewalld.sls: pillar.example
  346. verifier:
  347. inspec_tests:
  348. - path: test/integration/default