Saltstack Official FirewallD 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.

57 lines
1006B

  1. ---
  2. driver:
  3. name: docker
  4. driver_config:
  5. use_sudo: false
  6. privileged: true
  7. provision_command: mkdir -p /run/sshd
  8. run_command: /lib/systemd/systemd
  9. platforms:
  10. - name: debian-9
  11. driver_config:
  12. provision_command:
  13. - apt-get install udev net-tools -y
  14. - name: ubuntu-18.04
  15. driver_config:
  16. provision_command:
  17. - apt-get install udev net-tools -y
  18. - name: centos-7
  19. driver_config:
  20. provision_command:
  21. - yum install udev net-tools -y
  22. provisioner:
  23. name: salt_solo
  24. log_level: info
  25. require_chef: false
  26. salt_version: latest
  27. formula: firewalld
  28. salt_copy_filter:
  29. - .kitchen
  30. - .git
  31. pillars-from-files:
  32. firewalld.sls: pillar.example
  33. pillars:
  34. top.sls:
  35. base:
  36. '*':
  37. - firewalld
  38. verifier:
  39. name: inspec
  40. sudo: true
  41. reporter:
  42. - cli
  43. inspec_tests:
  44. - path: test/integration/default
  45. suites:
  46. - name: default
  47. provisioner:
  48. state_top:
  49. base:
  50. '*':
  51. - firewalld