Saltstack Official UFW Formula
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

187 Zeilen
5.9KB

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