Saltstack Official Syslog-NG 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.

kitchen.yml 11KB

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