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

.kitchen.yml 1.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. ---
  2. driver:
  3. name: docker
  4. hostname: linux.ci.local
  5. use_sudo: sudo
  6. provisioner:
  7. name: salt_solo
  8. salt_install: bootstrap
  9. salt_bootstrap_url: https://bootstrap.saltstack.com
  10. salt_version: latest
  11. require_chef: false
  12. log_level: error
  13. formula: linux
  14. grains:
  15. noservices: true
  16. state_top:
  17. base:
  18. "*":
  19. - linux
  20. pillars:
  21. top.sls:
  22. base:
  23. "*":
  24. - linux
  25. verifier:
  26. name: inspec
  27. sudo: true
  28. platforms:
  29. - name: <%=ENV['PLATFORM'] || 'ubuntu-xenial'%>
  30. driver_config:
  31. image: <%=ENV['PLATFORM'] || 'trevorj/salty-whales:xenial'%>
  32. platform: ubuntu
  33. suites:
  34. - name: network
  35. provisioner:
  36. pillars-from-files:
  37. linux.sls: tests/pillar/network.sls
  38. #- name: storage
  39. #provisioner:
  40. #pillars-from-files:
  41. #linux.sls: tests/pillar/storage.sls
  42. #init_environment: |
  43. #sudo mkdir -p /tmp/node
  44. #sudo dd if=/dev/zero of=/tmp/loop_dev0 bs=1024 count=$((30*1024));
  45. #sudo dd if=/dev/zero of=/tmp/loop_dev1 bs=1024 count=$((30*1024));
  46. #sudo dd if=/dev/zero of=/tmp/loop_dev2 bs=1024 count=$((30*1024));
  47. #sudo dd if=/dev/zero of=/tmp/loop_dev3 bs=1024 count=$((30*1024));
  48. #sudo dd if=/dev/zero of=/tmp/loop_dev4 bs=1024 count=$((30*1024));
  49. #sudo mkfs.ext4 /tmp/loop_dev1
  50. #sudo mkswap /tmp/loop_dev2
  51. #sudo chown root /tmp/loop_dev*;
  52. #sudo chmod 0600 /tmp/loop_dev*;
  53. - name: system
  54. provisioner:
  55. pillars-from-files:
  56. linux.sls: tests/pillar/system.sls
  57. # vim: ft=yaml sw=2 ts=2 sts=2 tw=125