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 години
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391
  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.3`
  142. - name: debian-11-3003-3-py3
  143. driver:
  144. image: saltimages/salt-3003.3-py3:debian-11
  145. run_command: /lib/systemd/systemd
  146. - name: debian-10-3003-3-py3
  147. driver:
  148. image: saltimages/salt-3003.3-py3:debian-10
  149. run_command: /lib/systemd/systemd
  150. - name: debian-9-3003-3-py3
  151. driver:
  152. image: saltimages/salt-3003.3-py3:debian-9
  153. run_command: /lib/systemd/systemd
  154. - name: ubuntu-2004-3003-3-py3
  155. driver:
  156. image: saltimages/salt-3003.3-py3:ubuntu-20.04
  157. run_command: /lib/systemd/systemd
  158. - name: ubuntu-1804-3003-3-py3
  159. driver:
  160. image: saltimages/salt-3003.3-py3:ubuntu-18.04
  161. run_command: /lib/systemd/systemd
  162. - name: centos-8-3003-3-py3
  163. driver:
  164. image: saltimages/salt-3003.3-py3:centos-8
  165. - name: centos-7-3003-3-py3
  166. driver:
  167. image: saltimages/salt-3003.3-py3:centos-7
  168. - name: fedora-34-3003-3-py3
  169. driver:
  170. image: saltimages/salt-3003.3-py3:fedora-34
  171. - name: fedora-33-3003-3-py3
  172. driver:
  173. image: saltimages/salt-3003.3-py3:fedora-33
  174. - name: opensuse-leap-153-3003-3-py3
  175. driver:
  176. image: saltimages/salt-3003.3-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-3-py3
  182. driver:
  183. image: saltimages/salt-3003.3-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-3-py3
  189. driver:
  190. image: saltimages/salt-3003.3-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-3-py3
  196. driver:
  197. image: saltimages/salt-3003.3-py3:amazonlinux-2
  198. - name: oraclelinux-8-3003-3-py3
  199. driver:
  200. image: saltimages/salt-3003.3-py3:oraclelinux-8
  201. - name: oraclelinux-7-3003-3-py3
  202. driver:
  203. image: saltimages/salt-3003.3-py3:oraclelinux-7
  204. - name: arch-base-latest-3003-3-py3
  205. driver:
  206. image: saltimages/salt-3003.3-py3:arch-base-latest
  207. - name: gentoo-stage3-latest-3003-3-py3
  208. driver:
  209. image: saltimages/salt-3003.3-py3:gentoo-stage3-latest
  210. run_command: /sbin/init
  211. - name: gentoo-stage3-systemd-3003-3-py3
  212. driver:
  213. image: saltimages/salt-3003.3-py3:gentoo-stage3-systemd
  214. - name: almalinux-8-3003-3-py3
  215. driver:
  216. image: saltimages/salt-3003.3-py3:almalinux-8
  217. ## SALT `3002.7`
  218. - name: debian-11-3002-7-py3
  219. driver:
  220. image: saltimages/salt-3002.7-py3:debian-11
  221. run_command: /lib/systemd/systemd
  222. - name: debian-10-3002-7-py3
  223. driver:
  224. image: saltimages/salt-3002.7-py3:debian-10
  225. run_command: /lib/systemd/systemd
  226. - name: debian-9-3002-7-py3
  227. driver:
  228. image: saltimages/salt-3002.7-py3:debian-9
  229. run_command: /lib/systemd/systemd
  230. - name: ubuntu-2004-3002-7-py3
  231. driver:
  232. image: saltimages/salt-3002.7-py3:ubuntu-20.04
  233. run_command: /lib/systemd/systemd
  234. - name: ubuntu-1804-3002-7-py3
  235. driver:
  236. image: saltimages/salt-3002.7-py3:ubuntu-18.04
  237. run_command: /lib/systemd/systemd
  238. - name: centos-8-3002-7-py3
  239. driver:
  240. image: saltimages/salt-3002.7-py3:centos-8
  241. - name: centos-7-3002-7-py3
  242. driver:
  243. image: saltimages/salt-3002.7-py3:centos-7
  244. - name: fedora-34-3002-7-py3
  245. driver:
  246. image: saltimages/salt-3002.7-py3:fedora-34
  247. - name: fedora-33-3002-7-py3
  248. driver:
  249. image: saltimages/salt-3002.7-py3:fedora-33
  250. - name: opensuse-leap-153-3002-7-py3
  251. driver:
  252. image: saltimages/salt-3002.7-py3:opensuse-leap-15.3
  253. # Workaround to avoid intermittent failures on `opensuse-leap-15.3`:
  254. # => SCP did not finish successfully (255): (Net::SCP::Error)
  255. transport:
  256. max_ssh_sessions: 1
  257. - name: opensuse-leap-152-3002-7-py3
  258. driver:
  259. image: saltimages/salt-3002.7-py3:opensuse-leap-15.2
  260. # Workaround to avoid intermittent failures on `opensuse-leap-15.2`:
  261. # => SCP did not finish successfully (255): (Net::SCP::Error)
  262. transport:
  263. max_ssh_sessions: 1
  264. - name: opensuse-tmbl-latest-3002-7-py3
  265. driver:
  266. image: saltimages/salt-3002.7-py3:opensuse-tumbleweed-latest
  267. # Workaround to avoid intermittent failures on `opensuse-tumbleweed`:
  268. # => SCP did not finish successfully (255): (Net::SCP::Error)
  269. transport:
  270. max_ssh_sessions: 1
  271. - name: amazonlinux-2-3002-7-py3
  272. driver:
  273. image: saltimages/salt-3002.7-py3:amazonlinux-2
  274. - name: oraclelinux-8-3002-7-py3
  275. driver:
  276. image: saltimages/salt-3002.7-py3:oraclelinux-8
  277. - name: oraclelinux-7-3002-7-py3
  278. driver:
  279. image: saltimages/salt-3002.7-py3:oraclelinux-7
  280. - name: arch-base-latest-3002-7-py3
  281. driver:
  282. image: saltimages/salt-3002.7-py3:arch-base-latest
  283. - name: gentoo-stage3-latest-3002-7-py3
  284. driver:
  285. image: saltimages/salt-3002.7-py3:gentoo-stage3-latest
  286. run_command: /sbin/init
  287. - name: gentoo-stage3-systemd-3002-7-py3
  288. driver:
  289. image: saltimages/salt-3002.7-py3:gentoo-stage3-systemd
  290. ## SALT `3001.8`
  291. - name: debian-10-3001-8-py3
  292. driver:
  293. image: saltimages/salt-3001.8-py3:debian-10
  294. run_command: /lib/systemd/systemd
  295. - name: debian-9-3001-8-py3
  296. driver:
  297. image: saltimages/salt-3001.8-py3:debian-9
  298. run_command: /lib/systemd/systemd
  299. - name: ubuntu-2004-3001-8-py3
  300. driver:
  301. image: saltimages/salt-3001.8-py3:ubuntu-20.04
  302. run_command: /lib/systemd/systemd
  303. - name: ubuntu-1804-3001-8-py3
  304. driver:
  305. image: saltimages/salt-3001.8-py3:ubuntu-18.04
  306. run_command: /lib/systemd/systemd
  307. - name: centos-8-3001-8-py3
  308. driver:
  309. image: saltimages/salt-3001.8-py3:centos-8
  310. - name: centos-7-3001-8-py3
  311. driver:
  312. image: saltimages/salt-3001.8-py3:centos-7
  313. - name: fedora-34-3001-8-py3
  314. driver:
  315. image: saltimages/salt-3001.8-py3:fedora-34
  316. - name: fedora-33-3001-8-py3
  317. driver:
  318. image: saltimages/salt-3001.8-py3:fedora-33
  319. - name: opensuse-leap-153-3001-8-py3
  320. driver:
  321. image: saltimages/salt-3001.8-py3:opensuse-leap-15.3
  322. # Workaround to avoid intermittent failures on `opensuse-leap-15.3`:
  323. # => SCP did not finish successfully (255): (Net::SCP::Error)
  324. transport:
  325. max_ssh_sessions: 1
  326. - name: opensuse-leap-152-3001-8-py3
  327. driver:
  328. image: saltimages/salt-3001.8-py3:opensuse-leap-15.2
  329. # Workaround to avoid intermittent failures on `opensuse-leap-15.2`:
  330. # => SCP did not finish successfully (255): (Net::SCP::Error)
  331. transport:
  332. max_ssh_sessions: 1
  333. - name: opensuse-tmbl-latest-3001-8-py3
  334. driver:
  335. image: saltimages/salt-3001.8-py3:opensuse-tumbleweed-latest
  336. # Workaround to avoid intermittent failures on `opensuse-tumbleweed`:
  337. # => SCP did not finish successfully (255): (Net::SCP::Error)
  338. transport:
  339. max_ssh_sessions: 1
  340. - name: amazonlinux-2-3001-8-py3
  341. driver:
  342. image: saltimages/salt-3001.8-py3:amazonlinux-2
  343. - name: oraclelinux-8-3001-8-py3
  344. driver:
  345. image: saltimages/salt-3001.8-py3:oraclelinux-8
  346. - name: oraclelinux-7-3001-8-py3
  347. driver:
  348. image: saltimages/salt-3001.8-py3:oraclelinux-7
  349. - name: arch-base-latest-3001-8-py3
  350. driver:
  351. image: saltimages/salt-3001.8-py3:arch-base-latest
  352. - name: gentoo-stage3-latest-3001-8-py3
  353. driver:
  354. image: saltimages/salt-3001.8-py3:gentoo-stage3-latest
  355. run_command: /sbin/init
  356. - name: gentoo-stage3-systemd-3001-8-py3
  357. driver:
  358. image: saltimages/salt-3001.8-py3:gentoo-stage3-systemd
  359. verifier:
  360. # https://www.inspec.io/
  361. name: inspec
  362. sudo: true
  363. reporter:
  364. # cli, documentation, html, progress, json, json-min, json-rspec, junit
  365. - cli
  366. suites:
  367. - name: default
  368. provisioner:
  369. state_top:
  370. base:
  371. '*':
  372. - firewalld._mapdata
  373. - firewalld
  374. pillars:
  375. top.sls:
  376. base:
  377. '*':
  378. - firewalld
  379. pillars_from_files:
  380. firewalld.sls: pillar.example
  381. verifier:
  382. inspec_tests:
  383. - path: test/integration/default