Chef Cookbook for a Zend Framework 2 project
Clone or download
Rud5G Update deprecated rubocop (#110)
* Update deprecated/renames rubocop

* Update chef_version in metadata
Latest commit 051e883 May 25, 2018
Permalink
Failed to load latest commit information.
attributes Update nodejs dependency (#108) Dec 1, 2017
data_bags Add server_port to the data_bag + move to .ldev extension (#109) Dec 22, 2017
environments Add version 0.1.0 May 28, 2014
files/default Update php cookbook dependencies (#95) Sep 24, 2016
libraries Update database attributes Apr 30, 2016
nodes Update mod php Ubuntu 16.04 (#101) Oct 7, 2016
recipes Add server_port to the data_bag + move to .ldev extension (#109) Dec 22, 2017
roles Fix some rubocop errors (ignored a lot) Aug 13, 2015
templates/default Update packages+deps (#107) Aug 25, 2017
.gitignore Removed .idea from gitignore Mar 2, 2016
.kitchen.docker.yml Update packages+deps (#107) Aug 25, 2017
.kitchen.dokken.yml Update packages+deps (#107) Aug 25, 2017
.kitchen.yml Update nodejs dependency (#108) Dec 1, 2017
.rubocop.yml Update deprecated rubocop (#110) May 25, 2018
.travis.yml disable kitchen verify Aug 25, 2017
Berksfile
CHANGELOG.md Update changelog Feb 7, 2015
LICENSE Update packages+deps (#107) Aug 25, 2017
README.md Bump version README.md Aug 25, 2017
Vagrantfile Add server_port to the data_bag + move to .ldev extension (#109) Dec 22, 2017
chefignore Add initial update-files Aug 12, 2015
metadata.rb Update deprecated rubocop (#110) May 25, 2018

README.md

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 (r.gravestein@triple-networks.com)