Saltstack Official Syslog-NG 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.

kitchen.yml 6.9KB

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