Saltstack Official Syslog-NG Formula
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

.kitchen.yml 975B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <%
  2. distrib, infos = ENV.fetch('DISTRIB', 'debian:stretch/9').split(':')
  3. codename, version = infos.split('/')
  4. %>
  5. ---
  6. driver:
  7. name: docker
  8. use_sudo: false
  9. provisioner:
  10. name: salt_solo
  11. formula: syslog_ng
  12. # Install Salt from official repositories
  13. salt_install: apt
  14. salt_version: latest
  15. salt_apt_repo: http://repo.saltstack.com/apt/<%= distrib %>/<%= version %>/amd64
  16. salt_apt_repo_key: http://repo.saltstack.com/apt/<%= distrib %>/<%= version %>/amd64/latest/SALTSTACK-GPG-KEY.pub
  17. # Don't install Chef
  18. require_chef: false
  19. # Configure Salt
  20. state_top:
  21. base:
  22. '*':
  23. - syslog_ng.config
  24. pillars:
  25. top.sls:
  26. base:
  27. '*':
  28. - syslog_ng
  29. syslog_ng.sls:
  30. syslog_ng:
  31. foo: bar
  32. platforms:
  33. - name: <%= distrib %>-<%= codename %>
  34. driver_config:
  35. image: "<%= distrib %>:<%= codename %>"
  36. platform: <%= distrib %>
  37. verifier:
  38. name: inspec
  39. format: progress
  40. suites:
  41. - name: syslog_ng