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

152 line
4.5KB

  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 `develop`
  14. - name: debian-10-develop-py3
  15. driver:
  16. image: netmanagers/salt-develop-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 develop
  20. - name: ubuntu-1804-develop-py3
  21. driver:
  22. image: netmanagers/salt-develop-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 develop
  26. - name: centos-7-develop-py3
  27. driver:
  28. image: netmanagers/salt-develop-py3:centos-7
  29. provision_command:
  30. - curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
  31. - sh bootstrap-salt.sh -XdPbfrq -x python3 git develop
  32. - name: fedora-30-develop-py3
  33. driver:
  34. image: netmanagers/salt-develop-py3:fedora-30
  35. provision_command:
  36. - curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
  37. - sh bootstrap-salt.sh -XdPbfrq -x python3 git develop
  38. - name: opensuse-leap-15-develop-py3
  39. driver:
  40. image: netmanagers/salt-develop-py3:opensuse-leap-15
  41. provision_command:
  42. - curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
  43. - sh bootstrap-salt.sh -XdPbfrq -x python3 git develop
  44. run_command: /usr/lib/systemd/systemd
  45. - name: amazonlinux-2-develop-py2
  46. driver:
  47. image: netmanagers/salt-develop-py2:amazonlinux-2
  48. provision_command:
  49. - curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
  50. - sh bootstrap-salt.sh -XdPbfrq -x python2 git develop
  51. ## SALT `2019.2`
  52. - name: debian-9-2019-2-py3
  53. driver:
  54. image: netmanagers/salt-2019.2-py3:debian-9
  55. - name: ubuntu-1804-2019-2-py3
  56. driver:
  57. image: netmanagers/salt-2019.2-py3:ubuntu-18.04
  58. - name: centos-7-2019-2-py3
  59. driver:
  60. image: netmanagers/salt-2019.2-py3:centos-7
  61. - name: fedora-30-2019-2-py3
  62. driver:
  63. image: netmanagers/salt-2019.2-py3:fedora-30
  64. - name: opensuse-leap-15-2019-2-py3
  65. driver:
  66. image: netmanagers/salt-2019.2-py3:opensuse-leap-15
  67. run_command: /usr/lib/systemd/systemd
  68. - name: amazonlinux-2-2019-2-py2
  69. driver:
  70. image: netmanagers/salt-2019.2-py2:amazonlinux-2
  71. ## SALT `2018.3`
  72. - name: debian-9-2018-3-py2
  73. driver:
  74. image: netmanagers/salt-2018.3-py2:debian-9
  75. - name: ubuntu-1604-2018-3-py2
  76. driver:
  77. image: netmanagers/salt-2018.3-py2:ubuntu-16.04
  78. - name: centos-7-2018-3-py2
  79. driver:
  80. image: netmanagers/salt-2018.3-py2:centos-7
  81. - name: fedora-29-2018-3-py2
  82. driver:
  83. image: netmanagers/salt-2018.3-py2:fedora-29
  84. - name: opensuse-leap-15-2018-3-py2
  85. driver:
  86. image: netmanagers/salt-2018.3-py2:opensuse-leap-15
  87. run_command: /usr/lib/systemd/systemd
  88. - name: amazonlinux-2-2018-3-py2
  89. driver:
  90. image: netmanagers/salt-2018.3-py2:amazonlinux-2
  91. ## SALT `2017.7`
  92. - name: debian-8-2017-7-py2
  93. driver:
  94. image: netmanagers/salt-2017.7-py2:debian-8
  95. - name: ubuntu-1604-2017-7-py2
  96. driver:
  97. image: netmanagers/salt-2017.7-py2:ubuntu-16.04
  98. - name: centos-6-2017-7-py2
  99. driver:
  100. image: netmanagers/salt-2017.7-py2:centos-6
  101. run_command: /sbin/init
  102. - name: fedora-29-2017-7-py2
  103. driver:
  104. image: netmanagers/salt-2017.7-py2:fedora-29
  105. - name: opensuse-leap-15-2017-7-py2
  106. driver:
  107. image: netmanagers/salt-2017.7-py2:opensuse-leap-15
  108. run_command: /usr/lib/systemd/systemd
  109. - name: amazonlinux-2-2017-7-py2
  110. driver:
  111. image: netmanagers/salt-2017.7-py2:amazonlinux-2
  112. provisioner:
  113. name: salt_solo
  114. log_level: info
  115. salt_install: none
  116. require_chef: false
  117. formula: chrony
  118. salt_copy_filter:
  119. - .kitchen
  120. - .git
  121. verifier:
  122. # https://www.inspec.io/
  123. name: inspec
  124. sudo: true
  125. # cli, documentation, html, progress, json, json-min, json-rspec, junit
  126. reporter:
  127. - cli
  128. suites:
  129. - name: default
  130. provisioner:
  131. state_top:
  132. base:
  133. '*':
  134. - chrony
  135. pillars:
  136. top.sls:
  137. base:
  138. '*':
  139. - chrony
  140. pillars_from_files:
  141. chrony.sls: pillar.example
  142. verifier:
  143. inspec_tests:
  144. - path: test/integration/default