Saltstack Official FirewallD Formula
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

73 rindas
1.6KB

  1. # -*- coding: utf-8 -*-
  2. # vim: ft=yaml
  3. ---
  4. driver:
  5. name: docker
  6. driver_config:
  7. use_sudo: false
  8. privileged: true
  9. provision_command: mkdir -p /run/sshd
  10. run_command: /lib/systemd/systemd
  11. pid_one_command: /usr/lib/systemd/systemd
  12. platforms:
  13. - name: centos-7
  14. driver_config:
  15. image: centos:7
  16. provision_command:
  17. - yum install udev net-tools glibc-common -y
  18. - echo "LANG=en_US.UTF-8" >> /etc/locale.conf
  19. - localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
  20. platform: rhel
  21. - name: debian-9
  22. driver_config:
  23. image: debian:9
  24. provision_command:
  25. - apt-get install udev net-tools locales -y
  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 install udev net-tools locales -y
  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. provisioner:
  39. name: salt_solo
  40. log_level: info
  41. require_chef: false
  42. salt_version: latest
  43. formula: firewalld
  44. salt_copy_filter:
  45. - .kitchen
  46. - .git
  47. pillars_from_files:
  48. firewalld.sls: pillar.example
  49. pillars:
  50. top.sls:
  51. base:
  52. '*':
  53. - firewalld
  54. state_top:
  55. base:
  56. '*':
  57. - firewalld
  58. verifier:
  59. name: inspec
  60. sudo: true
  61. reporter:
  62. - cli
  63. inspec_tests:
  64. - path: test/integration/default
  65. suites:
  66. - name: default