Skip to content
This repository has been archived by the owner on Sep 29, 2020. It is now read-only.

Rud5G/chef-zf2

Repository files navigation

ZF2 cookbook


Build Status Version Status

Requirements

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

Usage

Set the required project (git), database, virtualhost & users in the databags

$ vagrant up
$ vagrant halt

Use in an other cookbook

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'

Standalone (testing)

Set the required users & config in the databags.

$ kitchen create
$ kitchen converge
$ kitchen destroy

Known Issues

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

Author:: Triple-networks ([email protected])