diff options
Diffstat (limited to 'omnibus/.kitchen.yml')
-rw-r--r-- | omnibus/.kitchen.yml | 30 |
1 files changed, 21 insertions, 9 deletions
diff --git a/omnibus/.kitchen.yml b/omnibus/.kitchen.yml index e64cadca26..0b98730294 100644 --- a/omnibus/.kitchen.yml +++ b/omnibus/.kitchen.yml @@ -11,7 +11,9 @@ driver: cpus: 4 memory: 4096 synced_folders: - - ['../..', '/home/vagrant'] + - ['..', '/home/vagrant/chef'] + - ['../../omnibus', '/home/vagrant/omnibus'] + - ['../../omnibus-software', '/home/vagrant/omnibus-software'] provisioner: name: chef_zero @@ -64,18 +66,28 @@ platforms: # as the default provider by copying `.kitchen.local.yml.vmware.example` # over to `.kitchen.local.yml`. # - - name: macosx-10.9 + <% %w( + 10.9 + 10.10 + 10.11 + ).each do |mac_version| %> + - name: macosx-<%= mac_version %> driver: - box: chef/macosx-10.9 # private - - name: macosx-10.10 - driver: - box: chef/macosx-10.10 # private - - name: macosx-10.11 - driver: - box: chef/macosx-10.11 # private + box: chef/macosx-<%= mac_version %> # private + synced_folders: + - ['..', '/Users/vagrant/chef'] + - ['../../omnibus', '/Users/vagrant/omnibus'] + - ['../../omnibus-software', '/Users/vagrant/omnibus-software'] + <% end %> - name: windows-2012r2-standard driver: box: chef/windows-server-2012r2-standard # private + synced_folders: + # We have to mount this repos enclosing folder as the Omnibus build + # gets cranky if the mounted Chef source folder is a symlink. This + # mounts at `C:\vagrant\code` and the Chef source folder is available + # at `C:\vagrant\code\chef` + - ['../..', '/vagrant/code'] provisioner: chef_omnibus_root: /opscode/angrychef |