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 5.2KB

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
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  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. # Workaround to avoid intermittent failures on `opensuse-leap-15`:
  46. # => SCP did not finish successfully (255): (Net::SCP::Error)
  47. transport:
  48. max_ssh_sessions: 1
  49. - name: amazonlinux-2-develop-py2
  50. driver:
  51. image: netmanagers/salt-develop-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 develop
  55. ## SALT `2019.2`
  56. - name: debian-9-2019-2-py3
  57. driver:
  58. image: netmanagers/salt-2019.2-py3:debian-9
  59. - name: ubuntu-1804-2019-2-py3
  60. driver:
  61. image: netmanagers/salt-2019.2-py3:ubuntu-18.04
  62. - name: centos-7-2019-2-py3
  63. driver:
  64. image: netmanagers/salt-2019.2-py3:centos-7
  65. - name: fedora-30-2019-2-py3
  66. driver:
  67. image: netmanagers/salt-2019.2-py3:fedora-30
  68. - name: opensuse-leap-15-2019-2-py3
  69. driver:
  70. image: netmanagers/salt-2019.2-py3:opensuse-leap-15
  71. run_command: /usr/lib/systemd/systemd
  72. # Workaround to avoid intermittent failures on `opensuse-leap-15`:
  73. # => SCP did not finish successfully (255): (Net::SCP::Error)
  74. transport:
  75. max_ssh_sessions: 1
  76. - name: amazonlinux-2-2019-2-py2
  77. driver:
  78. image: netmanagers/salt-2019.2-py2:amazonlinux-2
  79. ## SALT `2018.3`
  80. - name: debian-9-2018-3-py2
  81. driver:
  82. image: netmanagers/salt-2018.3-py2:debian-9
  83. - name: ubuntu-1604-2018-3-py2
  84. driver:
  85. image: netmanagers/salt-2018.3-py2:ubuntu-16.04
  86. - name: centos-7-2018-3-py2
  87. driver:
  88. image: netmanagers/salt-2018.3-py2:centos-7
  89. - name: fedora-29-2018-3-py2
  90. driver:
  91. image: netmanagers/salt-2018.3-py2:fedora-29
  92. - name: opensuse-leap-15-2018-3-py2
  93. driver:
  94. image: netmanagers/salt-2018.3-py2:opensuse-leap-15
  95. run_command: /usr/lib/systemd/systemd
  96. # Workaround to avoid intermittent failures on `opensuse-leap-15`:
  97. # => SCP did not finish successfully (255): (Net::SCP::Error)
  98. transport:
  99. max_ssh_sessions: 1
  100. - name: amazonlinux-2-2018-3-py2
  101. driver:
  102. image: netmanagers/salt-2018.3-py2:amazonlinux-2
  103. ## SALT `2017.7`
  104. - name: debian-8-2017-7-py2
  105. driver:
  106. image: netmanagers/salt-2017.7-py2:debian-8
  107. - name: ubuntu-1604-2017-7-py2
  108. driver:
  109. image: netmanagers/salt-2017.7-py2:ubuntu-16.04
  110. - name: centos-6-2017-7-py2
  111. driver:
  112. image: netmanagers/salt-2017.7-py2:centos-6
  113. run_command: /sbin/init
  114. - name: fedora-29-2017-7-py2
  115. driver:
  116. image: netmanagers/salt-2017.7-py2:fedora-29
  117. - name: opensuse-leap-15-2017-7-py2
  118. driver:
  119. image: netmanagers/salt-2017.7-py2:opensuse-leap-15
  120. run_command: /usr/lib/systemd/systemd
  121. # Workaround to avoid intermittent failures on `opensuse-leap-15`:
  122. # => SCP did not finish successfully (255): (Net::SCP::Error)
  123. transport:
  124. max_ssh_sessions: 1
  125. - name: amazonlinux-2-2017-7-py2
  126. driver:
  127. image: netmanagers/salt-2017.7-py2:amazonlinux-2
  128. provisioner:
  129. name: salt_solo
  130. log_level: info
  131. salt_install: none
  132. require_chef: false
  133. formula: syslog_ng
  134. salt_copy_filter:
  135. - .kitchen
  136. - .git
  137. verifier:
  138. # https://www.inspec.io/
  139. name: inspec
  140. sudo: true
  141. # cli, documentation, html, progress, json, json-min, json-rspec, junit
  142. reporter:
  143. - cli
  144. suites:
  145. - name: default
  146. provisioner:
  147. state_top:
  148. base:
  149. '*':
  150. - syslog_ng
  151. pillars:
  152. top.sls:
  153. base:
  154. '*':
  155. - syslog_ng
  156. pillars_from_files:
  157. syslog_ng.sls: test/salt/pillar/syslog_ng.sls
  158. verifier:
  159. inspec_tests:
  160. - path: test/integration/default