Saltstack Official Syslog-NG Formula
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

204 lines
6.4KB

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