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.

89 lines
3.0KB

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