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.

325 lines
10KB

  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: /lib/systemd/systemd
  10. platforms:
  11. ## SALT `tiamat`
  12. - name: debian-10-tiamat-py3
  13. driver:
  14. image: saltimages/salt-tiamat-py3:debian-10
  15. - name: debian-9-tiamat-py3
  16. driver:
  17. image: saltimages/salt-tiamat-py3:debian-9
  18. - name: ubuntu-2004-tiamat-py3
  19. driver:
  20. image: saltimages/salt-tiamat-py3:ubuntu-20.04
  21. - name: ubuntu-1804-tiamat-py3
  22. driver:
  23. image: saltimages/salt-tiamat-py3:ubuntu-18.04
  24. - name: ubuntu-1604-tiamat-py3
  25. driver:
  26. image: saltimages/salt-tiamat-py3:ubuntu-16.04
  27. - name: centos-8-tiamat-py3
  28. driver:
  29. image: saltimages/salt-tiamat-py3:centos-8
  30. - name: centos-7-tiamat-py3
  31. driver:
  32. image: saltimages/salt-tiamat-py3:centos-7
  33. - name: amazonlinux-2-tiamat-py3
  34. driver:
  35. image: saltimages/salt-tiamat-py3:amazonlinux-2
  36. - name: oraclelinux-8-tiamat-py3
  37. driver:
  38. image: saltimages/salt-tiamat-py3:oraclelinux-8
  39. - name: oraclelinux-7-tiamat-py3
  40. driver:
  41. image: saltimages/salt-tiamat-py3:oraclelinux-7
  42. ## SALT `master`
  43. - name: debian-10-master-py3
  44. driver:
  45. image: saltimages/salt-master-py3:debian-10
  46. - name: debian-9-master-py3
  47. driver:
  48. image: saltimages/salt-master-py3:debian-9
  49. - name: ubuntu-2004-master-py3
  50. driver:
  51. image: saltimages/salt-master-py3:ubuntu-20.04
  52. - name: ubuntu-1804-master-py3
  53. driver:
  54. image: saltimages/salt-master-py3:ubuntu-18.04
  55. - name: ubuntu-1604-master-py3
  56. driver:
  57. image: saltimages/salt-master-py3:ubuntu-16.04
  58. - name: centos-8-master-py3
  59. driver:
  60. image: saltimages/salt-master-py3:centos-8
  61. - name: centos-7-master-py3
  62. driver:
  63. image: saltimages/salt-master-py3:centos-7
  64. - name: fedora-33-master-py3
  65. driver:
  66. image: saltimages/salt-master-py3:fedora-33
  67. - name: fedora-32-master-py3
  68. driver:
  69. image: saltimages/salt-master-py3:fedora-32
  70. - name: opensuse-leap-152-master-py3
  71. driver:
  72. image: saltimages/salt-master-py3:opensuse-leap-15.2
  73. run_command: /usr/lib/systemd/systemd
  74. # Workaround to avoid intermittent failures on `opensuse-leap-15.2`:
  75. # => SCP did not finish successfully (255): (Net::SCP::Error)
  76. transport:
  77. max_ssh_sessions: 1
  78. - name: opensuse-tmbl-latest-master-py3
  79. driver:
  80. image: saltimages/salt-master-py3:opensuse-tumbleweed-latest
  81. run_command: /usr/lib/systemd/systemd
  82. # Workaround to avoid intermittent failures on `opensuse-tumbleweed`:
  83. # => SCP did not finish successfully (255): (Net::SCP::Error)
  84. transport:
  85. max_ssh_sessions: 1
  86. - name: amazonlinux-2-master-py3
  87. driver:
  88. image: saltimages/salt-master-py3:amazonlinux-2
  89. - name: oraclelinux-8-master-py3
  90. driver:
  91. image: saltimages/salt-master-py3:oraclelinux-8
  92. - name: oraclelinux-7-master-py3
  93. driver:
  94. image: saltimages/salt-master-py3:oraclelinux-7
  95. - name: gentoo-stage3-latest-master-py3
  96. driver:
  97. image: saltimages/salt-master-py3:gentoo-stage3-latest
  98. run_command: /sbin/init
  99. - name: gentoo-stage3-systemd-master-py3
  100. driver:
  101. image: saltimages/salt-master-py3:gentoo-stage3-systemd
  102. ## SALT `3002.2`
  103. - name: debian-10-3002-2-py3
  104. driver:
  105. image: saltimages/salt-3002.2-py3:debian-10
  106. - name: debian-9-3002-2-py3
  107. driver:
  108. image: saltimages/salt-3002.2-py3:debian-9
  109. - name: ubuntu-2004-3002-2-py3
  110. driver:
  111. image: saltimages/salt-3002.2-py3:ubuntu-20.04
  112. - name: ubuntu-1804-3002-2-py3
  113. driver:
  114. image: saltimages/salt-3002.2-py3:ubuntu-18.04
  115. - name: ubuntu-1604-3002-2-py3
  116. driver:
  117. image: saltimages/salt-3002.2-py3:ubuntu-16.04
  118. - name: centos-8-3002-2-py3
  119. driver:
  120. image: saltimages/salt-3002.2-py3:centos-8
  121. - name: centos-7-3002-2-py3
  122. driver:
  123. image: saltimages/salt-3002.2-py3:centos-7
  124. - name: fedora-33-3002-2-py3
  125. driver:
  126. image: saltimages/salt-3002.2-py3:fedora-33
  127. - name: fedora-32-3002-2-py3
  128. driver:
  129. image: saltimages/salt-3002.2-py3:fedora-32
  130. - name: opensuse-leap-152-3002-2-py3
  131. driver:
  132. image: saltimages/salt-3002.2-py3:opensuse-leap-15.2
  133. run_command: /usr/lib/systemd/systemd
  134. # Workaround to avoid intermittent failures on `opensuse-leap-15.2`:
  135. # => SCP did not finish successfully (255): (Net::SCP::Error)
  136. transport:
  137. max_ssh_sessions: 1
  138. - name: opensuse-tmbl-latest-3002-2-py3
  139. driver:
  140. image: saltimages/salt-3002.2-py3:opensuse-tumbleweed-latest
  141. run_command: /usr/lib/systemd/systemd
  142. # Workaround to avoid intermittent failures on `opensuse-tumbleweed`:
  143. # => SCP did not finish successfully (255): (Net::SCP::Error)
  144. transport:
  145. max_ssh_sessions: 1
  146. - name: amazonlinux-2-3002-2-py3
  147. driver:
  148. image: saltimages/salt-3002.2-py3:amazonlinux-2
  149. - name: oraclelinux-8-3002-2-py3
  150. driver:
  151. image: saltimages/salt-3002.2-py3:oraclelinux-8
  152. - name: oraclelinux-7-3002-2-py3
  153. driver:
  154. image: saltimages/salt-3002.2-py3:oraclelinux-7
  155. - name: arch-base-latest-3002-2-py3
  156. driver:
  157. image: saltimages/salt-3002.2-py3:arch-base-latest
  158. run_command: /usr/lib/systemd/systemd
  159. - name: gentoo-stage3-latest-3002-2-py3
  160. driver:
  161. image: saltimages/salt-3002.2-py3:gentoo-stage3-latest
  162. run_command: /sbin/init
  163. - name: gentoo-stage3-systemd-3002-2-py3
  164. driver:
  165. image: saltimages/salt-3002.2-py3:gentoo-stage3-systemd
  166. ## SALT `3001.4`
  167. - name: debian-10-3001-4-py3
  168. driver:
  169. image: saltimages/salt-3001.4-py3:debian-10
  170. - name: debian-9-3001-4-py3
  171. driver:
  172. image: saltimages/salt-3001.4-py3:debian-9
  173. - name: ubuntu-2004-3001-4-py3
  174. driver:
  175. image: saltimages/salt-3001.4-py3:ubuntu-20.04
  176. - name: ubuntu-1804-3001-4-py3
  177. driver:
  178. image: saltimages/salt-3001.4-py3:ubuntu-18.04
  179. - name: ubuntu-1604-3001-4-py3
  180. driver:
  181. image: saltimages/salt-3001.4-py3:ubuntu-16.04
  182. - name: centos-8-3001-4-py3
  183. driver:
  184. image: saltimages/salt-3001.4-py3:centos-8
  185. - name: centos-7-3001-4-py3
  186. driver:
  187. image: saltimages/salt-3001.4-py3:centos-7
  188. - name: fedora-33-3001-4-py3
  189. driver:
  190. image: saltimages/salt-3001.4-py3:fedora-33
  191. - name: fedora-32-3001-4-py3
  192. driver:
  193. image: saltimages/salt-3001.4-py3:fedora-32
  194. - name: opensuse-leap-152-3001-4-py3
  195. driver:
  196. image: saltimages/salt-3001.4-py3:opensuse-leap-15.2
  197. run_command: /usr/lib/systemd/systemd
  198. # Workaround to avoid intermittent failures on `opensuse-leap-15.2`:
  199. # => SCP did not finish successfully (255): (Net::SCP::Error)
  200. transport:
  201. max_ssh_sessions: 1
  202. - name: opensuse-tmbl-latest-3001-4-py3
  203. driver:
  204. image: saltimages/salt-3001.4-py3:opensuse-tumbleweed-latest
  205. run_command: /usr/lib/systemd/systemd
  206. # Workaround to avoid intermittent failures on `opensuse-tumbleweed`:
  207. # => SCP did not finish successfully (255): (Net::SCP::Error)
  208. transport:
  209. max_ssh_sessions: 1
  210. - name: amazonlinux-2-3001-4-py3
  211. driver:
  212. image: saltimages/salt-3001.4-py3:amazonlinux-2
  213. - name: oraclelinux-8-3001-4-py3
  214. driver:
  215. image: saltimages/salt-3001.4-py3:oraclelinux-8
  216. - name: oraclelinux-7-3001-4-py3
  217. driver:
  218. image: saltimages/salt-3001.4-py3:oraclelinux-7
  219. - name: arch-base-latest-3001-4-py3
  220. driver:
  221. image: saltimages/salt-3001.4-py3:arch-base-latest
  222. run_command: /usr/lib/systemd/systemd
  223. - name: gentoo-stage3-latest-3001-4-py3
  224. driver:
  225. image: saltimages/salt-3001.4-py3:gentoo-stage3-latest
  226. run_command: /sbin/init
  227. - name: gentoo-stage3-systemd-3001-4-py3
  228. driver:
  229. image: saltimages/salt-3001.4-py3:gentoo-stage3-systemd
  230. ## SALT `3000.6`
  231. - name: debian-10-3000-6-py3
  232. driver:
  233. image: saltimages/salt-3000.6-py3:debian-10
  234. - name: debian-9-3000-6-py3
  235. driver:
  236. image: saltimages/salt-3000.6-py3:debian-9
  237. - name: ubuntu-1804-3000-6-py3
  238. driver:
  239. image: saltimages/salt-3000.6-py3:ubuntu-18.04
  240. - name: ubuntu-1604-3000-6-py3
  241. driver:
  242. image: saltimages/salt-3000.6-py3:ubuntu-16.04
  243. - name: centos-8-3000-6-py3
  244. driver:
  245. image: saltimages/salt-3000.6-py3:centos-8
  246. - name: centos-7-3000-6-py3
  247. driver:
  248. image: saltimages/salt-3000.6-py3:centos-7
  249. - name: opensuse-leap-152-3000-6-py3
  250. driver:
  251. image: saltimages/salt-3000.6-py3:opensuse-leap-15.2
  252. run_command: /usr/lib/systemd/systemd
  253. # Workaround to avoid intermittent failures on `opensuse-leap-15.2`:
  254. # => SCP did not finish successfully (255): (Net::SCP::Error)
  255. transport:
  256. max_ssh_sessions: 1
  257. - name: amazonlinux-2-3000-6-py3
  258. driver:
  259. image: saltimages/salt-3000.6-py3:amazonlinux-2
  260. - name: oraclelinux-8-3000-6-py3
  261. driver:
  262. image: saltimages/salt-3000.6-py3:oraclelinux-8
  263. - name: oraclelinux-7-3000-6-py3
  264. driver:
  265. image: saltimages/salt-3000.6-py3:oraclelinux-7
  266. - name: gentoo-stage3-latest-3000-6-py3
  267. driver:
  268. image: saltimages/salt-3000.6-py3:gentoo-stage3-latest
  269. run_command: /sbin/init
  270. - name: gentoo-stage3-systemd-3000-6-py3
  271. driver:
  272. image: saltimages/salt-3000.6-py3:gentoo-stage3-systemd
  273. - name: ubuntu-1804-3000-6-py2
  274. driver:
  275. image: saltimages/salt-3000.6-py2:ubuntu-18.04
  276. - name: ubuntu-1604-3000-6-py2
  277. driver:
  278. image: saltimages/salt-3000.6-py2:ubuntu-16.04
  279. - name: arch-base-latest-3000-6-py2
  280. driver:
  281. image: saltimages/salt-3000.6-py2:arch-base-latest
  282. run_command: /usr/lib/systemd/systemd
  283. provisioner:
  284. name: salt_solo
  285. log_level: debug
  286. salt_install: none
  287. require_chef: false
  288. formula: firewalld
  289. salt_copy_filter:
  290. - .kitchen
  291. - .git
  292. verifier:
  293. # https://www.inspec.io/
  294. name: inspec
  295. sudo: true
  296. # cli, documentation, html, progress, json, json-min, json-rspec, junit
  297. reporter:
  298. - cli
  299. suites:
  300. - name: default
  301. provisioner:
  302. state_top:
  303. base:
  304. '*':
  305. - firewalld._mapdata
  306. - firewalld
  307. pillars:
  308. top.sls:
  309. base:
  310. '*':
  311. - firewalld
  312. pillars_from_files:
  313. firewalld.sls: pillar.example
  314. verifier:
  315. inspec_tests:
  316. - path: test/integration/default