Saltstack Official FirewallD Formula
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

311 lines
9.5KB

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