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

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