Saltstack Official Chrony Formula
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

193 líneas
6.1KB

  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. # Make sure the platforms listed below match up with
  11. # the `env.matrix` instances defined in `.travis.yml`
  12. platforms:
  13. ## SALT `master`
  14. - name: debian-10-master-py3
  15. driver:
  16. image: netmanagers/salt-master-py3:debian-10
  17. provision_command:
  18. - curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
  19. - sh bootstrap-salt.sh -XdPbfrq -x python3 git master
  20. - name: ubuntu-1804-master-py3
  21. driver:
  22. image: netmanagers/salt-master-py3:ubuntu-18.04
  23. provision_command:
  24. - curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
  25. - sh bootstrap-salt.sh -XdPbfrq -x python3 git master
  26. - name: centos-8-master-py3
  27. driver:
  28. image: netmanagers/salt-master-py3:centos-8
  29. provision_command:
  30. - curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
  31. - sh bootstrap-salt.sh -XdPbfrq -x python3 git master
  32. - name: fedora-31-master-py3
  33. driver:
  34. image: netmanagers/salt-master-py3:fedora-31
  35. provision_command:
  36. - curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
  37. - sh bootstrap-salt.sh -XdPbfrq -x python3 git master
  38. - name: opensuse-leap-151-master-py3
  39. driver:
  40. image: netmanagers/salt-master-py3:opensuse-leap-15.1
  41. provision_command:
  42. - curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
  43. - sh bootstrap-salt.sh -XdPbfrq -x python3 git master
  44. run_command: /usr/lib/systemd/systemd
  45. # Workaround to avoid intermittent failures on `opensuse-leap-15.1`:
  46. # => SCP did not finish successfully (255): (Net::SCP::Error)
  47. transport:
  48. max_ssh_sessions: 1
  49. - name: amazonlinux-2-master-py2
  50. driver:
  51. image: netmanagers/salt-master-py2:amazonlinux-2
  52. provision_command:
  53. - curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
  54. - sh bootstrap-salt.sh -XdPbfrq -x python2 git master
  55. - name: arch-base-latest-master-py2
  56. driver:
  57. image: netmanagers/salt-master-py2:arch-base-latest
  58. provision_command:
  59. - curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
  60. - sh bootstrap-salt.sh -XdPbfrq -x python2 git master
  61. run_command: /usr/lib/systemd/systemd
  62. ## SALT `2019.2`
  63. - name: debian-10-2019-2-py3
  64. driver:
  65. image: netmanagers/salt-2019.2-py3:debian-10
  66. - name: debian-9-2019-2-py3
  67. driver:
  68. image: netmanagers/salt-2019.2-py3:debian-9
  69. - name: ubuntu-1804-2019-2-py3
  70. driver:
  71. image: netmanagers/salt-2019.2-py3:ubuntu-18.04
  72. - name: centos-8-2019-2-py3
  73. driver:
  74. image: netmanagers/salt-2019.2-py3:centos-8
  75. - name: fedora-31-2019-2-py3
  76. driver:
  77. image: netmanagers/salt-2019.2-py3:fedora-31
  78. - name: opensuse-leap-151-2019-2-py3
  79. driver:
  80. image: netmanagers/salt-2019.2-py3:opensuse-leap-15.1
  81. run_command: /usr/lib/systemd/systemd
  82. # Workaround to avoid intermittent failures on `opensuse-leap-15.1`:
  83. # => SCP did not finish successfully (255): (Net::SCP::Error)
  84. transport:
  85. max_ssh_sessions: 1
  86. - name: centos-7-2019-2-py2
  87. driver:
  88. image: netmanagers/salt-2019.2-py2:centos-7
  89. - name: amazonlinux-2-2019-2-py2
  90. driver:
  91. image: netmanagers/salt-2019.2-py2:amazonlinux-2
  92. - name: arch-base-latest-2019-2-py2
  93. driver:
  94. image: netmanagers/salt-2019.2-py2:arch-base-latest
  95. run_command: /usr/lib/systemd/systemd
  96. ## SALT `2018.3`
  97. - name: fedora-30-2018-3-py3
  98. driver:
  99. image: netmanagers/salt-2018.3-py3:fedora-30
  100. - name: debian-9-2018-3-py2
  101. driver:
  102. image: netmanagers/salt-2018.3-py2:debian-9
  103. - name: ubuntu-1604-2018-3-py2
  104. driver:
  105. image: netmanagers/salt-2018.3-py2:ubuntu-16.04
  106. - name: centos-7-2018-3-py2
  107. driver:
  108. image: netmanagers/salt-2018.3-py2:centos-7
  109. - name: opensuse-leap-151-2018-3-py2
  110. driver:
  111. image: netmanagers/salt-2018.3-py2:opensuse-leap-15.1
  112. run_command: /usr/lib/systemd/systemd
  113. # Workaround to avoid intermittent failures on `opensuse-leap-15.1`:
  114. # => SCP did not finish successfully (255): (Net::SCP::Error)
  115. transport:
  116. max_ssh_sessions: 1
  117. - name: amazonlinux-2-2018-3-py2
  118. driver:
  119. image: netmanagers/salt-2018.3-py2:amazonlinux-2
  120. - name: arch-base-latest-2018-3-py2
  121. driver:
  122. image: netmanagers/salt-2018.3-py2:arch-base-latest
  123. run_command: /usr/lib/systemd/systemd
  124. ## SALT `2017.7`
  125. - name: debian-8-2017-7-py2
  126. driver:
  127. image: netmanagers/salt-2017.7-py2:debian-8
  128. - name: ubuntu-1604-2017-7-py2
  129. driver:
  130. image: netmanagers/salt-2017.7-py2:ubuntu-16.04
  131. - name: centos-6-2017-7-py2
  132. driver:
  133. image: netmanagers/salt-2017.7-py2:centos-6
  134. run_command: /sbin/init
  135. - name: fedora-30-2017-7-py2
  136. driver:
  137. image: netmanagers/salt-2017.7-py2:fedora-30
  138. - name: opensuse-leap-151-2017-7-py2
  139. driver:
  140. image: netmanagers/salt-2017.7-py2:opensuse-leap-15.1
  141. run_command: /usr/lib/systemd/systemd
  142. # Workaround to avoid intermittent failures on `opensuse-leap-15.1`:
  143. # => SCP did not finish successfully (255): (Net::SCP::Error)
  144. transport:
  145. max_ssh_sessions: 1
  146. - name: amazonlinux-2-2017-7-py2
  147. driver:
  148. image: netmanagers/salt-2017.7-py2:amazonlinux-2
  149. - name: arch-base-latest-2017-7-py2
  150. driver:
  151. image: netmanagers/salt-2017.7-py2:arch-base-latest
  152. run_command: /usr/lib/systemd/systemd
  153. provisioner:
  154. name: salt_solo
  155. log_level: debug
  156. salt_install: none
  157. require_chef: false
  158. formula: chrony
  159. salt_copy_filter:
  160. - .kitchen
  161. - .git
  162. verifier:
  163. # https://www.inspec.io/
  164. name: inspec
  165. sudo: true
  166. # cli, documentation, html, progress, json, json-min, json-rspec, junit
  167. reporter:
  168. - cli
  169. suites:
  170. - name: default
  171. provisioner:
  172. state_top:
  173. base:
  174. '*':
  175. - chrony
  176. pillars:
  177. top.sls:
  178. base:
  179. '*':
  180. - chrony
  181. pillars_from_files:
  182. chrony.sls: pillar.example
  183. verifier:
  184. inspec_tests:
  185. - path: test/integration/default