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.

81 line
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-122-master-py3
  21. driver:
  22. box: myii/freebsd-12.2-master-py3
  23. - name: freebsd-114-master-py3
  24. driver:
  25. box: myii/freebsd-11.4-master-py3
  26. - name: freebsd-122-3002-6-py3
  27. driver:
  28. box: myii/freebsd-12.2-3002.6-py3
  29. - name: freebsd-114-3002-6-py3
  30. driver:
  31. box: myii/freebsd-11.4-3002.6-py3
  32. - name: openbsd-68-3001-1-py3
  33. driver:
  34. box: myii/openbsd-6.8-3001.1-py3
  35. ssh:
  36. shell: /bin/ksh
  37. synced_folders: []
  38. - name: windows-10-latest-py3
  39. driver:
  40. box: techneg/win10x64-pro-salt
  41. cache_directory: "/omnibus/cache"
  42. customize: {}
  43. ssh: {}
  44. provisioner:
  45. # yamllint disable rule:line-length
  46. init_environment: |
  47. # Workaround to allow `kitchen converge` to be used multiple times
  48. # without having to `kitchen destroy` first: remove state files cached by
  49. # Salt during the previous `converge` (if present)
  50. rm -recurse `
  51. C:\Users\vagrant\AppData\Local\Temp\kitchen\var\cache\salt\minion\files\base `
  52. -ErrorAction SilentlyContinue
  53. salt-call --local state.single file.managed `
  54. C:\Users\vagrant\AppData\Local\Temp\kitchen\srv\salt\win\repo-ng\salt-minion-py3.sls `
  55. source=https://github.com/saltstack/salt-winrepo-ng/raw/master/salt-minion-py3.sls `
  56. skip_verify=True makedirs=True
  57. exit 0
  58. # yamllint enable rule:line-length
  59. - name: windows-81-latest-py3
  60. driver:
  61. box: techneg/win81x64-pro-salt
  62. cache_directory: "/omnibus/cache"
  63. customize: {}
  64. ssh: {}
  65. provisioner:
  66. # yamllint disable rule:line-length
  67. init_environment: |
  68. # Workaround to allow `kitchen converge` to be used multiple times
  69. # without having to `kitchen destroy` first: remove state files cached by
  70. # Salt during the previous `converge` (if present)
  71. rm -recurse `
  72. C:\Users\vagrant\AppData\Local\Temp\kitchen\var\cache\salt\minion\files\base `
  73. -ErrorAction SilentlyContinue
  74. salt-call --local state.single file.managed `
  75. C:\Users\vagrant\AppData\Local\Temp\kitchen\srv\salt\win\repo-ng\salt-minion-py3.sls `
  76. source=https://github.com/saltstack/salt-winrepo-ng/raw/master/salt-minion-py3.sls `
  77. skip_verify=True makedirs=True
  78. exit 0
  79. # yamllint enable rule:line-length