Saltstack Official Apache Formula
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

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