kitchen.yml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. ---
  2. driver:
  3. name: dokken
  4. privileged: true # because Docker and SystemD
  5. transport:
  6. name: dokken
  7. provisioner:
  8. name: dokken
  9. chef_version: <%= ENV['CHEF_VERSION'] || 'current' %>
  10. chef_license: accept-no-persist
  11. product_name: chef
  12. enforce_idempotency: true
  13. multiple_converge: 2
  14. deprecations_as_errors: false
  15. platforms:
  16. - name: debian-11
  17. driver:
  18. image: dokken/debian-11
  19. pid_one_command: /bin/systemd
  20. intermediate_instructions:
  21. - RUN /usr/bin/apt-get update
  22. - name: centos-8
  23. driver:
  24. image: dokken/centos-8
  25. pid_one_command: /usr/lib/systemd/systemd
  26. - name: ubuntu-20.04
  27. driver:
  28. image: dokken/ubuntu-20.04
  29. pid_one_command: /bin/systemd
  30. intermediate_instructions:
  31. - RUN /usr/bin/apt-get update
  32. verifier:
  33. name: inspec
  34. suites:
  35. - name: workstation
  36. run_list:
  37. - 'workstation::default'
  38. lifecycle:
  39. pre_create:
  40. - podman create --name chef-latest --replace docker.io/chef/chef:latest sh
  41. - podman start chef-latest
  42. post_destroy:
  43. - podman volume prune -f