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.

305 lines
9.3KB

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