Saltstack Official Salt Formula
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

kitchen.vagrant.yml 3.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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-114-master-py3
  28. driver:
  29. box: myii/freebsd-11.4-master-py3
  30. - name: freebsd-130-3002-6-py3
  31. driver:
  32. box: myii/freebsd-13.0-3002.6-py3
  33. synced_folders: [] # https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255208
  34. - name: freebsd-122-3002-6-py3
  35. driver:
  36. box: myii/freebsd-12.2-3002.6-py3
  37. - name: freebsd-114-3002-6-py3
  38. driver:
  39. box: myii/freebsd-11.4-3002.6-py3
  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