Saltstack Official UFW Formula
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

494 líneas
16KB

  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-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.1`
  142. - name: debian-11-3003-1-py3
  143. driver:
  144. image: saltimages/salt-3003.1-py3:debian-11
  145. run_command: /lib/systemd/systemd
  146. - name: debian-10-3003-1-py3
  147. driver:
  148. image: saltimages/salt-3003.1-py3:debian-10
  149. run_command: /lib/systemd/systemd
  150. - name: debian-9-3003-1-py3
  151. driver:
  152. image: saltimages/salt-3003.1-py3:debian-9
  153. run_command: /lib/systemd/systemd
  154. - name: ubuntu-2004-3003-1-py3
  155. driver:
  156. image: saltimages/salt-3003.1-py3:ubuntu-20.04
  157. run_command: /lib/systemd/systemd
  158. - name: ubuntu-1804-3003-1-py3
  159. driver:
  160. image: saltimages/salt-3003.1-py3:ubuntu-18.04
  161. run_command: /lib/systemd/systemd
  162. - name: centos-8-3003-1-py3
  163. driver:
  164. image: saltimages/salt-3003.1-py3:centos-8
  165. - name: centos-7-3003-1-py3
  166. driver:
  167. image: saltimages/salt-3003.1-py3:centos-7
  168. - name: fedora-34-3003-1-py3
  169. driver:
  170. image: saltimages/salt-3003.1-py3:fedora-34
  171. - name: fedora-33-3003-1-py3
  172. driver:
  173. image: saltimages/salt-3003.1-py3:fedora-33
  174. - name: opensuse-leap-153-3003-1-py3
  175. driver:
  176. image: saltimages/salt-3003.1-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-1-py3
  182. driver:
  183. image: saltimages/salt-3003.1-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-1-py3
  189. driver:
  190. image: saltimages/salt-3003.1-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-1-py3
  196. driver:
  197. image: saltimages/salt-3003.1-py3:amazonlinux-2
  198. - name: oraclelinux-8-3003-1-py3
  199. driver:
  200. image: saltimages/salt-3003.1-py3:oraclelinux-8
  201. - name: oraclelinux-7-3003-1-py3
  202. driver:
  203. image: saltimages/salt-3003.1-py3:oraclelinux-7
  204. - name: arch-base-latest-3003-1-py3
  205. driver:
  206. image: saltimages/salt-3003.1-py3:arch-base-latest
  207. - name: gentoo-stage3-latest-3003-1-py3
  208. driver:
  209. image: saltimages/salt-3003.1-py3:gentoo-stage3-latest
  210. run_command: /sbin/init
  211. - name: gentoo-stage3-systemd-3003-1-py3
  212. driver:
  213. image: saltimages/salt-3003.1-py3:gentoo-stage3-systemd
  214. ## SALT `3002.6`
  215. - name: debian-11-3002-6-py3
  216. driver:
  217. image: saltimages/salt-3002.6-py3:debian-11
  218. run_command: /lib/systemd/systemd
  219. - name: debian-10-3002-6-py3
  220. driver:
  221. image: saltimages/salt-3002.6-py3:debian-10
  222. run_command: /lib/systemd/systemd
  223. - name: debian-9-3002-6-py3
  224. driver:
  225. image: saltimages/salt-3002.6-py3:debian-9
  226. run_command: /lib/systemd/systemd
  227. - name: ubuntu-2004-3002-6-py3
  228. driver:
  229. image: saltimages/salt-3002.6-py3:ubuntu-20.04
  230. run_command: /lib/systemd/systemd
  231. - name: ubuntu-1804-3002-6-py3
  232. driver:
  233. image: saltimages/salt-3002.6-py3:ubuntu-18.04
  234. run_command: /lib/systemd/systemd
  235. - name: centos-8-3002-6-py3
  236. driver:
  237. image: saltimages/salt-3002.6-py3:centos-8
  238. - name: centos-7-3002-6-py3
  239. driver:
  240. image: saltimages/salt-3002.6-py3:centos-7
  241. - name: fedora-34-3002-6-py3
  242. driver:
  243. image: saltimages/salt-3002.6-py3:fedora-34
  244. - name: fedora-33-3002-6-py3
  245. driver:
  246. image: saltimages/salt-3002.6-py3:fedora-33
  247. - name: amazonlinux-2-3002-6-py3
  248. driver:
  249. image: saltimages/salt-3002.6-py3:amazonlinux-2
  250. - name: oraclelinux-8-3002-6-py3
  251. driver:
  252. image: saltimages/salt-3002.6-py3:oraclelinux-8
  253. - name: oraclelinux-7-3002-6-py3
  254. driver:
  255. image: saltimages/salt-3002.6-py3:oraclelinux-7
  256. - name: arch-base-latest-3002-6-py3
  257. driver:
  258. image: saltimages/salt-3002.6-py3:arch-base-latest
  259. - name: gentoo-stage3-latest-3002-6-py3
  260. driver:
  261. image: saltimages/salt-3002.6-py3:gentoo-stage3-latest
  262. run_command: /sbin/init
  263. - name: gentoo-stage3-systemd-3002-6-py3
  264. driver:
  265. image: saltimages/salt-3002.6-py3:gentoo-stage3-systemd
  266. ## SALT `3002.2`
  267. - name: opensuse-leap-153-3002-2-py3
  268. driver:
  269. image: saltimages/salt-3002.2-py3:opensuse-leap-15.3
  270. # Workaround to avoid intermittent failures on `opensuse-leap-15.3`:
  271. # => SCP did not finish successfully (255): (Net::SCP::Error)
  272. transport:
  273. max_ssh_sessions: 1
  274. - name: opensuse-leap-152-3002-2-py3
  275. driver:
  276. image: saltimages/salt-3002.2-py3:opensuse-leap-15.2
  277. # Workaround to avoid intermittent failures on `opensuse-leap-15.2`:
  278. # => SCP did not finish successfully (255): (Net::SCP::Error)
  279. transport:
  280. max_ssh_sessions: 1
  281. - name: opensuse-tmbl-latest-3002-2-py3
  282. driver:
  283. image: saltimages/salt-3002.2-py3:opensuse-tumbleweed-latest
  284. # Workaround to avoid intermittent failures on `opensuse-tumbleweed`:
  285. # => SCP did not finish successfully (255): (Net::SCP::Error)
  286. transport:
  287. max_ssh_sessions: 1
  288. ## SALT `3001.7`
  289. - name: debian-10-3001-7-py3
  290. driver:
  291. image: saltimages/salt-3001.7-py3:debian-10
  292. run_command: /lib/systemd/systemd
  293. - name: debian-9-3001-7-py3
  294. driver:
  295. image: saltimages/salt-3001.7-py3:debian-9
  296. run_command: /lib/systemd/systemd
  297. - name: ubuntu-2004-3001-7-py3
  298. driver:
  299. image: saltimages/salt-3001.7-py3:ubuntu-20.04
  300. run_command: /lib/systemd/systemd
  301. - name: ubuntu-1804-3001-7-py3
  302. driver:
  303. image: saltimages/salt-3001.7-py3:ubuntu-18.04
  304. run_command: /lib/systemd/systemd
  305. - name: centos-8-3001-7-py3
  306. driver:
  307. image: saltimages/salt-3001.7-py3:centos-8
  308. - name: centos-7-3001-7-py3
  309. driver:
  310. image: saltimages/salt-3001.7-py3:centos-7
  311. - name: fedora-34-3001-7-py3
  312. driver:
  313. image: saltimages/salt-3001.7-py3:fedora-34
  314. - name: fedora-33-3001-7-py3
  315. driver:
  316. image: saltimages/salt-3001.7-py3:fedora-33
  317. - name: opensuse-leap-153-3001-7-py3
  318. driver:
  319. image: saltimages/salt-3001.7-py3:opensuse-leap-15.3
  320. # Workaround to avoid intermittent failures on `opensuse-leap-15.3`:
  321. # => SCP did not finish successfully (255): (Net::SCP::Error)
  322. transport:
  323. max_ssh_sessions: 1
  324. - name: opensuse-leap-152-3001-7-py3
  325. driver:
  326. image: saltimages/salt-3001.7-py3:opensuse-leap-15.2
  327. # Workaround to avoid intermittent failures on `opensuse-leap-15.2`:
  328. # => SCP did not finish successfully (255): (Net::SCP::Error)
  329. transport:
  330. max_ssh_sessions: 1
  331. - name: opensuse-tmbl-latest-3001-7-py3
  332. driver:
  333. image: saltimages/salt-3001.7-py3:opensuse-tumbleweed-latest
  334. # Workaround to avoid intermittent failures on `opensuse-tumbleweed`:
  335. # => SCP did not finish successfully (255): (Net::SCP::Error)
  336. transport:
  337. max_ssh_sessions: 1
  338. - name: amazonlinux-2-3001-7-py3
  339. driver:
  340. image: saltimages/salt-3001.7-py3:amazonlinux-2
  341. - name: oraclelinux-8-3001-7-py3
  342. driver:
  343. image: saltimages/salt-3001.7-py3:oraclelinux-8
  344. - name: oraclelinux-7-3001-7-py3
  345. driver:
  346. image: saltimages/salt-3001.7-py3:oraclelinux-7
  347. - name: arch-base-latest-3001-7-py3
  348. driver:
  349. image: saltimages/salt-3001.7-py3:arch-base-latest
  350. - name: gentoo-stage3-latest-3001-7-py3
  351. driver:
  352. image: saltimages/salt-3001.7-py3:gentoo-stage3-latest
  353. run_command: /sbin/init
  354. - name: gentoo-stage3-systemd-3001-7-py3
  355. driver:
  356. image: saltimages/salt-3001.7-py3:gentoo-stage3-systemd
  357. ## SALT `3000.9`
  358. - name: debian-10-3000-9-py3
  359. driver:
  360. image: saltimages/salt-3000.9-py3:debian-10
  361. run_command: /lib/systemd/systemd
  362. - name: debian-9-3000-9-py3
  363. driver:
  364. image: saltimages/salt-3000.9-py3:debian-9
  365. run_command: /lib/systemd/systemd
  366. - name: ubuntu-1804-3000-9-py3
  367. driver:
  368. image: saltimages/salt-3000.9-py3:ubuntu-18.04
  369. run_command: /lib/systemd/systemd
  370. - name: centos-8-3000-9-py3
  371. driver:
  372. image: saltimages/salt-3000.9-py3:centos-8
  373. - name: centos-7-3000-9-py3
  374. driver:
  375. image: saltimages/salt-3000.9-py3:centos-7
  376. - name: opensuse-leap-153-3000-9-py3
  377. driver:
  378. image: saltimages/salt-3000.9-py3:opensuse-leap-15.3
  379. # Workaround to avoid intermittent failures on `opensuse-leap-15.3`:
  380. # => SCP did not finish successfully (255): (Net::SCP::Error)
  381. transport:
  382. max_ssh_sessions: 1
  383. - name: opensuse-leap-152-3000-9-py3
  384. driver:
  385. image: saltimages/salt-3000.9-py3:opensuse-leap-15.2
  386. # Workaround to avoid intermittent failures on `opensuse-leap-15.2`:
  387. # => SCP did not finish successfully (255): (Net::SCP::Error)
  388. transport:
  389. max_ssh_sessions: 1
  390. - name: amazonlinux-2-3000-9-py3
  391. driver:
  392. image: saltimages/salt-3000.9-py3:amazonlinux-2
  393. - name: oraclelinux-8-3000-9-py3
  394. driver:
  395. image: saltimages/salt-3000.9-py3:oraclelinux-8
  396. - name: oraclelinux-7-3000-9-py3
  397. driver:
  398. image: saltimages/salt-3000.9-py3:oraclelinux-7
  399. - name: gentoo-stage3-latest-3000-9-py3
  400. driver:
  401. image: saltimages/salt-3000.9-py3:gentoo-stage3-latest
  402. run_command: /sbin/init
  403. - name: gentoo-stage3-systemd-3000-9-py3
  404. driver:
  405. image: saltimages/salt-3000.9-py3:gentoo-stage3-systemd
  406. - name: ubuntu-1804-3000-9-py2
  407. driver:
  408. image: saltimages/salt-3000.9-py2:ubuntu-18.04
  409. run_command: /lib/systemd/systemd
  410. - name: arch-base-latest-3000-9-py2
  411. driver:
  412. image: saltimages/salt-3000.9-py2:arch-base-latest
  413. verifier:
  414. # https://www.inspec.io/
  415. name: inspec
  416. sudo: true
  417. reporter:
  418. # cli, documentation, html, progress, json, json-min, json-rspec, junit
  419. - cli
  420. suites:
  421. - name: default
  422. includes:
  423. - debian-11-tiamat-py3
  424. - debian-10-tiamat-py3
  425. - centos-8-tiamat-py3
  426. - oraclelinux-8-tiamat-py3
  427. - almalinux-8-tiamat-py3
  428. - rockylinux-8-tiamat-py3
  429. - debian-11-master-py3
  430. - debian-10-master-py3
  431. - centos-8-master-py3
  432. - oraclelinux-8-master-py3
  433. - almalinux-8-master-py3
  434. - rockylinux-8-master-py3
  435. - debian-11-3003-1-py3
  436. - debian-10-3003-1-py3
  437. - centos-8-3003-1-py3
  438. - oraclelinux-8-3003-1-py3
  439. - debian-11-3002-6-py3
  440. - debian-10-3002-6-py3
  441. - centos-8-3002-6-py3
  442. - oraclelinux-8-3002-6-py3
  443. - debian-10-3001-7-py3
  444. - centos-8-3001-7-py3
  445. - oraclelinux-8-3001-7-py3
  446. - debian-10-3000-9-py3
  447. - centos-8-3000-9-py3
  448. - oraclelinux-8-3000-9-py3
  449. provisioner:
  450. state_top:
  451. base:
  452. '*':
  453. - ufw._mapdata
  454. - ufw
  455. pillars:
  456. top.sls:
  457. base:
  458. '*':
  459. - ufw
  460. pillars_from_files:
  461. ufw.sls: test/salt/pillar/default.sls
  462. verifier:
  463. inspec_tests:
  464. - path: test/integration/default
  465. - name: without-ipv6
  466. provisioner:
  467. state_top:
  468. base:
  469. '*':
  470. - ufw._mapdata
  471. - ufw
  472. pillars:
  473. top.sls:
  474. base:
  475. '*':
  476. - ufw
  477. - without-ipv6
  478. pillars_from_files:
  479. ufw.sls: test/salt/pillar/default.sls
  480. without-ipv6.sls: test/salt/pillar/without-ipv6.sls
  481. verifier:
  482. inspec_tests:
  483. - path: test/integration/default