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.

436 lines
14KB

  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: openssh
  16. salt_copy_filter:
  17. - .kitchen
  18. - .git
  19. platforms:
  20. ## SALT `tiamat`
  21. - name: debian-10-tiamat-py3
  22. driver:
  23. image: saltimages/salt-tiamat-py3:debian-10
  24. run_command: /lib/systemd/systemd
  25. - name: debian-9-tiamat-py3
  26. driver:
  27. image: saltimages/salt-tiamat-py3:debian-9
  28. run_command: /lib/systemd/systemd
  29. - name: ubuntu-2004-tiamat-py3
  30. driver:
  31. image: saltimages/salt-tiamat-py3:ubuntu-20.04
  32. run_command: /lib/systemd/systemd
  33. - name: ubuntu-1804-tiamat-py3
  34. driver:
  35. image: saltimages/salt-tiamat-py3:ubuntu-18.04
  36. run_command: /lib/systemd/systemd
  37. - name: centos-8-tiamat-py3
  38. driver:
  39. image: saltimages/salt-tiamat-py3:centos-8
  40. - name: centos-7-tiamat-py3
  41. driver:
  42. image: saltimages/salt-tiamat-py3:centos-7
  43. - name: amazonlinux-2-tiamat-py3
  44. driver:
  45. image: saltimages/salt-tiamat-py3:amazonlinux-2
  46. - name: oraclelinux-8-tiamat-py3
  47. driver:
  48. image: saltimages/salt-tiamat-py3:oraclelinux-8
  49. - name: oraclelinux-7-tiamat-py3
  50. driver:
  51. image: saltimages/salt-tiamat-py3:oraclelinux-7
  52. - name: almalinux-8-tiamat-py3
  53. driver:
  54. image: saltimages/salt-tiamat-py3:almalinux-8
  55. - name: rockylinux-8-tiamat-py3
  56. driver:
  57. image: saltimages/salt-tiamat-py3:rockylinux-8
  58. ## SALT `master`
  59. - name: debian-10-master-py3
  60. driver:
  61. image: saltimages/salt-master-py3:debian-10
  62. run_command: /lib/systemd/systemd
  63. - name: debian-9-master-py3
  64. driver:
  65. image: saltimages/salt-master-py3:debian-9
  66. run_command: /lib/systemd/systemd
  67. - name: ubuntu-2004-master-py3
  68. driver:
  69. image: saltimages/salt-master-py3:ubuntu-20.04
  70. run_command: /lib/systemd/systemd
  71. - name: ubuntu-1804-master-py3
  72. driver:
  73. image: saltimages/salt-master-py3:ubuntu-18.04
  74. run_command: /lib/systemd/systemd
  75. - name: centos-8-master-py3
  76. driver:
  77. image: saltimages/salt-master-py3:centos-8
  78. - name: centos-7-master-py3
  79. driver:
  80. image: saltimages/salt-master-py3:centos-7
  81. - name: fedora-34-master-py3
  82. driver:
  83. image: saltimages/salt-master-py3:fedora-34
  84. - name: fedora-33-master-py3
  85. driver:
  86. image: saltimages/salt-master-py3:fedora-33
  87. - name: opensuse-leap-153-master-py3
  88. driver:
  89. image: saltimages/salt-master-py3:opensuse-leap-15.3
  90. # Workaround to avoid intermittent failures on `opensuse-leap-15.3`:
  91. # => SCP did not finish successfully (255): (Net::SCP::Error)
  92. transport:
  93. max_ssh_sessions: 1
  94. - name: opensuse-leap-152-master-py3
  95. driver:
  96. image: saltimages/salt-master-py3:opensuse-leap-15.2
  97. # Workaround to avoid intermittent failures on `opensuse-leap-15.2`:
  98. # => SCP did not finish successfully (255): (Net::SCP::Error)
  99. transport:
  100. max_ssh_sessions: 1
  101. - name: opensuse-tmbl-latest-master-py3
  102. driver:
  103. image: saltimages/salt-master-py3:opensuse-tumbleweed-latest
  104. # Workaround to avoid intermittent failures on `opensuse-tumbleweed`:
  105. # => SCP did not finish successfully (255): (Net::SCP::Error)
  106. transport:
  107. max_ssh_sessions: 1
  108. - name: amazonlinux-2-master-py3
  109. driver:
  110. image: saltimages/salt-master-py3:amazonlinux-2
  111. - name: oraclelinux-8-master-py3
  112. driver:
  113. image: saltimages/salt-master-py3:oraclelinux-8
  114. - name: oraclelinux-7-master-py3
  115. driver:
  116. image: saltimages/salt-master-py3:oraclelinux-7
  117. - name: arch-base-latest-master-py3
  118. driver:
  119. image: saltimages/salt-master-py3:arch-base-latest
  120. - name: gentoo-stage3-latest-master-py3
  121. driver:
  122. image: saltimages/salt-master-py3:gentoo-stage3-latest
  123. run_command: /sbin/init
  124. - name: gentoo-stage3-systemd-master-py3
  125. driver:
  126. image: saltimages/salt-master-py3:gentoo-stage3-systemd
  127. - name: almalinux-8-master-py3
  128. driver:
  129. image: saltimages/salt-master-py3:almalinux-8
  130. - name: rockylinux-8-master-py3
  131. driver:
  132. image: saltimages/salt-master-py3:rockylinux-8
  133. ## SALT `3003.1`
  134. - name: debian-10-3003-1-py3
  135. driver:
  136. image: saltimages/salt-3003.1-py3:debian-10
  137. run_command: /lib/systemd/systemd
  138. - name: debian-9-3003-1-py3
  139. driver:
  140. image: saltimages/salt-3003.1-py3:debian-9
  141. run_command: /lib/systemd/systemd
  142. - name: ubuntu-2004-3003-1-py3
  143. driver:
  144. image: saltimages/salt-3003.1-py3:ubuntu-20.04
  145. run_command: /lib/systemd/systemd
  146. - name: ubuntu-1804-3003-1-py3
  147. driver:
  148. image: saltimages/salt-3003.1-py3:ubuntu-18.04
  149. run_command: /lib/systemd/systemd
  150. - name: centos-8-3003-1-py3
  151. driver:
  152. image: saltimages/salt-3003.1-py3:centos-8
  153. - name: centos-7-3003-1-py3
  154. driver:
  155. image: saltimages/salt-3003.1-py3:centos-7
  156. - name: fedora-34-3003-1-py3
  157. driver:
  158. image: saltimages/salt-3003.1-py3:fedora-34
  159. - name: fedora-33-3003-1-py3
  160. driver:
  161. image: saltimages/salt-3003.1-py3:fedora-33
  162. - name: opensuse-leap-153-3003-1-py3
  163. driver:
  164. image: saltimages/salt-3003.1-py3:opensuse-leap-15.3
  165. # Workaround to avoid intermittent failures on `opensuse-leap-15.3`:
  166. # => SCP did not finish successfully (255): (Net::SCP::Error)
  167. transport:
  168. max_ssh_sessions: 1
  169. - name: opensuse-leap-152-3003-1-py3
  170. driver:
  171. image: saltimages/salt-3003.1-py3:opensuse-leap-15.2
  172. # Workaround to avoid intermittent failures on `opensuse-leap-15.2`:
  173. # => SCP did not finish successfully (255): (Net::SCP::Error)
  174. transport:
  175. max_ssh_sessions: 1
  176. - name: opensuse-tmbl-latest-3003-1-py3
  177. driver:
  178. image: saltimages/salt-3003.1-py3:opensuse-tumbleweed-latest
  179. # Workaround to avoid intermittent failures on `opensuse-tumbleweed`:
  180. # => SCP did not finish successfully (255): (Net::SCP::Error)
  181. transport:
  182. max_ssh_sessions: 1
  183. - name: amazonlinux-2-3003-1-py3
  184. driver:
  185. image: saltimages/salt-3003.1-py3:amazonlinux-2
  186. - name: oraclelinux-8-3003-1-py3
  187. driver:
  188. image: saltimages/salt-3003.1-py3:oraclelinux-8
  189. - name: oraclelinux-7-3003-1-py3
  190. driver:
  191. image: saltimages/salt-3003.1-py3:oraclelinux-7
  192. - name: arch-base-latest-3003-1-py3
  193. driver:
  194. image: saltimages/salt-3003.1-py3:arch-base-latest
  195. - name: gentoo-stage3-latest-3003-1-py3
  196. driver:
  197. image: saltimages/salt-3003.1-py3:gentoo-stage3-latest
  198. run_command: /sbin/init
  199. - name: gentoo-stage3-systemd-3003-1-py3
  200. driver:
  201. image: saltimages/salt-3003.1-py3:gentoo-stage3-systemd
  202. ## SALT `3002.6`
  203. - name: debian-10-3002-6-py3
  204. driver:
  205. image: saltimages/salt-3002.6-py3:debian-10
  206. run_command: /lib/systemd/systemd
  207. - name: debian-9-3002-6-py3
  208. driver:
  209. image: saltimages/salt-3002.6-py3:debian-9
  210. run_command: /lib/systemd/systemd
  211. - name: ubuntu-2004-3002-6-py3
  212. driver:
  213. image: saltimages/salt-3002.6-py3:ubuntu-20.04
  214. run_command: /lib/systemd/systemd
  215. - name: ubuntu-1804-3002-6-py3
  216. driver:
  217. image: saltimages/salt-3002.6-py3:ubuntu-18.04
  218. run_command: /lib/systemd/systemd
  219. - name: centos-8-3002-6-py3
  220. driver:
  221. image: saltimages/salt-3002.6-py3:centos-8
  222. - name: centos-7-3002-6-py3
  223. driver:
  224. image: saltimages/salt-3002.6-py3:centos-7
  225. - name: fedora-34-3002-6-py3
  226. driver:
  227. image: saltimages/salt-3002.6-py3:fedora-34
  228. - name: fedora-33-3002-6-py3
  229. driver:
  230. image: saltimages/salt-3002.6-py3:fedora-33
  231. - name: amazonlinux-2-3002-6-py3
  232. driver:
  233. image: saltimages/salt-3002.6-py3:amazonlinux-2
  234. - name: oraclelinux-8-3002-6-py3
  235. driver:
  236. image: saltimages/salt-3002.6-py3:oraclelinux-8
  237. - name: oraclelinux-7-3002-6-py3
  238. driver:
  239. image: saltimages/salt-3002.6-py3:oraclelinux-7
  240. - name: arch-base-latest-3002-6-py3
  241. driver:
  242. image: saltimages/salt-3002.6-py3:arch-base-latest
  243. - name: gentoo-stage3-latest-3002-6-py3
  244. driver:
  245. image: saltimages/salt-3002.6-py3:gentoo-stage3-latest
  246. run_command: /sbin/init
  247. - name: gentoo-stage3-systemd-3002-6-py3
  248. driver:
  249. image: saltimages/salt-3002.6-py3:gentoo-stage3-systemd
  250. ## SALT `3002.2`
  251. - name: opensuse-leap-153-3002-2-py3
  252. driver:
  253. image: saltimages/salt-3002.2-py3:opensuse-leap-15.3
  254. # Workaround to avoid intermittent failures on `opensuse-leap-15.3`:
  255. # => SCP did not finish successfully (255): (Net::SCP::Error)
  256. transport:
  257. max_ssh_sessions: 1
  258. - name: opensuse-leap-152-3002-2-py3
  259. driver:
  260. image: saltimages/salt-3002.2-py3:opensuse-leap-15.2
  261. # Workaround to avoid intermittent failures on `opensuse-leap-15.2`:
  262. # => SCP did not finish successfully (255): (Net::SCP::Error)
  263. transport:
  264. max_ssh_sessions: 1
  265. - name: opensuse-tmbl-latest-3002-2-py3
  266. driver:
  267. image: saltimages/salt-3002.2-py3:opensuse-tumbleweed-latest
  268. # Workaround to avoid intermittent failures on `opensuse-tumbleweed`:
  269. # => SCP did not finish successfully (255): (Net::SCP::Error)
  270. transport:
  271. max_ssh_sessions: 1
  272. ## SALT `3001.7`
  273. - name: debian-10-3001-7-py3
  274. driver:
  275. image: saltimages/salt-3001.7-py3:debian-10
  276. run_command: /lib/systemd/systemd
  277. - name: debian-9-3001-7-py3
  278. driver:
  279. image: saltimages/salt-3001.7-py3:debian-9
  280. run_command: /lib/systemd/systemd
  281. - name: ubuntu-2004-3001-7-py3
  282. driver:
  283. image: saltimages/salt-3001.7-py3:ubuntu-20.04
  284. run_command: /lib/systemd/systemd
  285. - name: ubuntu-1804-3001-7-py3
  286. driver:
  287. image: saltimages/salt-3001.7-py3:ubuntu-18.04
  288. run_command: /lib/systemd/systemd
  289. - name: centos-8-3001-7-py3
  290. driver:
  291. image: saltimages/salt-3001.7-py3:centos-8
  292. - name: centos-7-3001-7-py3
  293. driver:
  294. image: saltimages/salt-3001.7-py3:centos-7
  295. - name: fedora-34-3001-7-py3
  296. driver:
  297. image: saltimages/salt-3001.7-py3:fedora-34
  298. - name: fedora-33-3001-7-py3
  299. driver:
  300. image: saltimages/salt-3001.7-py3:fedora-33
  301. - name: opensuse-leap-153-3001-7-py3
  302. driver:
  303. image: saltimages/salt-3001.7-py3:opensuse-leap-15.3
  304. # Workaround to avoid intermittent failures on `opensuse-leap-15.3`:
  305. # => SCP did not finish successfully (255): (Net::SCP::Error)
  306. transport:
  307. max_ssh_sessions: 1
  308. - name: opensuse-leap-152-3001-7-py3
  309. driver:
  310. image: saltimages/salt-3001.7-py3:opensuse-leap-15.2
  311. # Workaround to avoid intermittent failures on `opensuse-leap-15.2`:
  312. # => SCP did not finish successfully (255): (Net::SCP::Error)
  313. transport:
  314. max_ssh_sessions: 1
  315. - name: opensuse-tmbl-latest-3001-7-py3
  316. driver:
  317. image: saltimages/salt-3001.7-py3:opensuse-tumbleweed-latest
  318. # Workaround to avoid intermittent failures on `opensuse-tumbleweed`:
  319. # => SCP did not finish successfully (255): (Net::SCP::Error)
  320. transport:
  321. max_ssh_sessions: 1
  322. - name: amazonlinux-2-3001-7-py3
  323. driver:
  324. image: saltimages/salt-3001.7-py3:amazonlinux-2
  325. - name: oraclelinux-8-3001-7-py3
  326. driver:
  327. image: saltimages/salt-3001.7-py3:oraclelinux-8
  328. - name: oraclelinux-7-3001-7-py3
  329. driver:
  330. image: saltimages/salt-3001.7-py3:oraclelinux-7
  331. - name: arch-base-latest-3001-7-py3
  332. driver:
  333. image: saltimages/salt-3001.7-py3:arch-base-latest
  334. - name: gentoo-stage3-latest-3001-7-py3
  335. driver:
  336. image: saltimages/salt-3001.7-py3:gentoo-stage3-latest
  337. run_command: /sbin/init
  338. - name: gentoo-stage3-systemd-3001-7-py3
  339. driver:
  340. image: saltimages/salt-3001.7-py3:gentoo-stage3-systemd
  341. ## SALT `3000.9`
  342. - name: debian-10-3000-9-py3
  343. driver:
  344. image: saltimages/salt-3000.9-py3:debian-10
  345. run_command: /lib/systemd/systemd
  346. - name: debian-9-3000-9-py3
  347. driver:
  348. image: saltimages/salt-3000.9-py3:debian-9
  349. run_command: /lib/systemd/systemd
  350. - name: ubuntu-1804-3000-9-py3
  351. driver:
  352. image: saltimages/salt-3000.9-py3:ubuntu-18.04
  353. run_command: /lib/systemd/systemd
  354. - name: centos-8-3000-9-py3
  355. driver:
  356. image: saltimages/salt-3000.9-py3:centos-8
  357. - name: centos-7-3000-9-py3
  358. driver:
  359. image: saltimages/salt-3000.9-py3:centos-7
  360. - name: opensuse-leap-153-3000-9-py3
  361. driver:
  362. image: saltimages/salt-3000.9-py3:opensuse-leap-15.3
  363. # Workaround to avoid intermittent failures on `opensuse-leap-15.3`:
  364. # => SCP did not finish successfully (255): (Net::SCP::Error)
  365. transport:
  366. max_ssh_sessions: 1
  367. - name: opensuse-leap-152-3000-9-py3
  368. driver:
  369. image: saltimages/salt-3000.9-py3:opensuse-leap-15.2
  370. # Workaround to avoid intermittent failures on `opensuse-leap-15.2`:
  371. # => SCP did not finish successfully (255): (Net::SCP::Error)
  372. transport:
  373. max_ssh_sessions: 1
  374. - name: amazonlinux-2-3000-9-py3
  375. driver:
  376. image: saltimages/salt-3000.9-py3:amazonlinux-2
  377. - name: oraclelinux-8-3000-9-py3
  378. driver:
  379. image: saltimages/salt-3000.9-py3:oraclelinux-8
  380. - name: oraclelinux-7-3000-9-py3
  381. driver:
  382. image: saltimages/salt-3000.9-py3:oraclelinux-7
  383. - name: gentoo-stage3-latest-3000-9-py3
  384. driver:
  385. image: saltimages/salt-3000.9-py3:gentoo-stage3-latest
  386. run_command: /sbin/init
  387. - name: gentoo-stage3-systemd-3000-9-py3
  388. driver:
  389. image: saltimages/salt-3000.9-py3:gentoo-stage3-systemd
  390. - name: ubuntu-1804-3000-9-py2
  391. driver:
  392. image: saltimages/salt-3000.9-py2:ubuntu-18.04
  393. run_command: /lib/systemd/systemd
  394. - name: arch-base-latest-3000-9-py2
  395. driver:
  396. image: saltimages/salt-3000.9-py2:arch-base-latest
  397. verifier:
  398. # https://www.inspec.io/
  399. name: inspec
  400. sudo: true
  401. reporter:
  402. # cli, documentation, html, progress, json, json-min, json-rspec, junit
  403. - cli
  404. suites:
  405. - name: default
  406. driver:
  407. hostname: example.net
  408. vm_hostname: example.net
  409. provisioner:
  410. state_top:
  411. base:
  412. '*':
  413. - openssh._mapdata
  414. - openssh.config
  415. - openssh.known_hosts
  416. pillars:
  417. top.sls:
  418. base:
  419. '*':
  420. - openssh
  421. pillars_from_files:
  422. openssh.sls: test/salt/pillar/default.sls
  423. verifier:
  424. inspec_tests:
  425. - path: test/integration/default