Saltstack Official UFW Formula
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

329 rindas
9.9KB

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