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.

78 line
2.0KB

  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. - name: debian-9
  14. driver_config:
  15. image: debian:9
  16. provision_command:
  17. - apt-get update && apt-get install -y udev locales
  18. - echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
  19. - locale-gen en_US.UTF-8
  20. platform: debian
  21. - name: debian-8
  22. driver_config:
  23. image: debian:8
  24. provision_command:
  25. - apt-get update && apt-get install -y udev locales
  26. - echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
  27. - locale-gen en_US.UTF-8
  28. platform: debian
  29. - name: ubuntu-18.04
  30. driver_config:
  31. image: ubuntu:18.04
  32. provision_command:
  33. - apt-get update && apt-get install -y udev locales && rm -rf /var/lib/apt/lists/*
  34. - localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
  35. - echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
  36. - locale-gen en_US.UTF-8
  37. platform: ubuntu
  38. - name: ubuntu-16.04
  39. driver_config:
  40. image: ubuntu:16.04
  41. provision_command:
  42. - apt-get update && apt-get install -y udev locales && rm -rf /var/lib/apt/lists/*
  43. - localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
  44. - echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
  45. - locale-gen en_US.UTF-8
  46. platform: ubuntu
  47. provisioner:
  48. name: salt_solo
  49. log_level: info
  50. salt_version: latest
  51. require_chef: false
  52. formula: syslog_ng
  53. salt_copy_filter:
  54. - .kitchen
  55. - .git
  56. state_top:
  57. base:
  58. '*':
  59. - syslog_ng.config
  60. verifier:
  61. # https://www.inspec.io/
  62. name: inspec
  63. sudo: true
  64. # cli, documentation, html, progress, json, json-min, json-rspec, junit
  65. reporter:
  66. - cli
  67. inspec_tests:
  68. - path: test/integration/syslog_ng
  69. suites:
  70. - name: default