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.

113 lines
3.5KB

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