Saltstack Official Logrotate 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 8.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291
  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: logrotate
  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. provisioner:
  264. dependencies:
  265. - name: cron
  266. repo: git
  267. source: https://github.com/saltstack-formulas/cron-formula.git
  268. state_top:
  269. base:
  270. '*':
  271. - logrotate._mapdata
  272. - cron
  273. - logrotate
  274. pillars:
  275. top.sls:
  276. base:
  277. '*':
  278. - logrotate
  279. pillars_from_files:
  280. logrotate.sls: pillar.example
  281. verifier:
  282. inspec_tests:
  283. - path: test/integration/default