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.

79 lines
2.7KB

  1. # -*- coding: utf-8 -*-
  2. # vim: ft=yaml
  3. ---
  4. driver:
  5. name: vagrant
  6. cache_directory: false
  7. customize:
  8. usbxhci: 'off'
  9. gui: false
  10. ssh:
  11. shell: /bin/sh
  12. <% unless ENV['CI'] %>
  13. linked_clone: true
  14. synced_folders:
  15. - - '.kitchen/kitchen-vagrant/%{instance_name}/vagrant'
  16. - '/vagrant'
  17. - 'create: true, disabled: false'
  18. <% end %>
  19. platforms:
  20. - name: freebsd-130-3002-6-py3
  21. driver:
  22. box: myii/freebsd-13.0-3002.6-py3
  23. synced_folders: [] # https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255208
  24. - name: freebsd-122-3002-6-py3
  25. driver:
  26. box: myii/freebsd-12.2-3002.6-py3
  27. - name: freebsd-114-3002-6-py3
  28. driver:
  29. box: myii/freebsd-11.4-3002.6-py3
  30. - name: openbsd-68-3001-1-py3
  31. driver:
  32. box: myii/openbsd-6.8-3001.1-py3
  33. ssh:
  34. shell: /bin/ksh
  35. synced_folders: []
  36. - name: windows-10-latest-py3
  37. driver:
  38. box: techneg/win10x64-pro-salt
  39. cache_directory: "/omnibus/cache"
  40. customize: {}
  41. ssh: {}
  42. provisioner:
  43. # yamllint disable rule:line-length
  44. init_environment: |
  45. # Workaround to allow `kitchen converge` to be used multiple times
  46. # without having to `kitchen destroy` first: remove state files cached by
  47. # Salt during the previous `converge` (if present)
  48. rm -recurse `
  49. C:\Users\vagrant\AppData\Local\Temp\kitchen\var\cache\salt\minion\files\base `
  50. -ErrorAction SilentlyContinue
  51. salt-call --local state.single file.managed `
  52. C:\Users\vagrant\AppData\Local\Temp\kitchen\srv\salt\win\repo-ng\salt-minion-py3.sls `
  53. source=https://github.com/saltstack/salt-winrepo-ng/raw/master/salt-minion-py3.sls `
  54. skip_verify=True makedirs=True
  55. exit 0
  56. # yamllint enable rule:line-length
  57. - name: windows-81-latest-py3
  58. driver:
  59. box: techneg/win81x64-pro-salt
  60. cache_directory: "/omnibus/cache"
  61. customize: {}
  62. ssh: {}
  63. provisioner:
  64. # yamllint disable rule:line-length
  65. init_environment: |
  66. # Workaround to allow `kitchen converge` to be used multiple times
  67. # without having to `kitchen destroy` first: remove state files cached by
  68. # Salt during the previous `converge` (if present)
  69. rm -recurse `
  70. C:\Users\vagrant\AppData\Local\Temp\kitchen\var\cache\salt\minion\files\base `
  71. -ErrorAction SilentlyContinue
  72. salt-call --local state.single file.managed `
  73. C:\Users\vagrant\AppData\Local\Temp\kitchen\srv\salt\win\repo-ng\salt-minion-py3.sls `
  74. source=https://github.com/saltstack/salt-winrepo-ng/raw/master/salt-minion-py3.sls `
  75. skip_verify=True makedirs=True
  76. exit 0
  77. # yamllint enable rule:line-length