Install chef-dk from the downloads page on the Chef-DK github page
Install latest Vagrant from the Vagrant downloads page
Install the Vagrant plugins: Berkshelf, Omnibus, Hostmanager
$ vagrant plugin install vagrant-berkshelf
$ vagrant plugin install vagrant-omnibus
$ vagrant plugin install vagrant-hostmanager
Set the required project (git), database, virtualhost & users in the databags
$ vagrant up
$ vagrant halt
Add this cookbook as a dependency to the metadata.rb in your cookbook. check the current version in the metadata.rb
depends 'zf2', '~> 0.12.13'
Set the required users & config in the databags.
$ kitchen create
$ kitchen converge
$ kitchen destroy
If the samba user setup is not done correct in the first run, to fix:
$ vagrant ssh
$ sudo su
$ smbpasswd -x developer
$ exit # (2x)
$ vagrant provision
Author:: Triple-networks (r.gravestein@triple-networks.com)