Saltstack Official Chrony Formula
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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