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

77 lines
1.4KB

  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: salt
  28. salt_copy_filter:
  29. - .kitchen
  30. - .git
  31. pillars:
  32. top.sls:
  33. base:
  34. '*':
  35. - salt
  36. salt.sls:
  37. salt:
  38. master:
  39. fileserver_backend:
  40. - rootfs
  41. file_roots:
  42. base:
  43. - /srv/salt
  44. pillar_roots:
  45. base:
  46. - /srv/pillar
  47. minion:
  48. master: localhost
  49. fileserver_backend:
  50. - rootfs
  51. file_roots:
  52. base:
  53. - /srv/salt
  54. pillar_roots:
  55. base:
  56. - /srv/pillar
  57. verifier:
  58. name: inspec
  59. sudo: true
  60. reporter:
  61. - cli
  62. inspec_tests:
  63. - path: test/integration/default
  64. suites:
  65. - name: salt
  66. provisioner:
  67. state_top:
  68. base:
  69. '*':
  70. - salt.master
  71. - salt.minion