Saltstack Official Salt Formula
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

kitchen.vagrant.yml 3.2KB

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