Saltstack Official OpenSSH 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.

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