Saltstack Official Salt Formula
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

kitchen.vagrant.yml 3.1KB

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