This cookbook includes recipes to add the Dotdeb repository to your Debian "Squeeze" or "Wheezy" systems to turn the boxes into powerful, stable and up-to-date LAMP servers.
Further information regarding the Dotdeb repository is available via http://www.dotdeb.org/ .
Adds the main repository to the sources.list.d and installs the GnuPG key.
Adds additional repository to the sources.list.d to install PHP 5.4 on Debian 6.0 "Squeeze" or PHP 5.5 on Debian 7.0 "Wheezy".
['dotdeb_repo']['priority']
- the priority of the repository (default 700)
In order to ease the life of developers and prevent that the local machine looks like a rubbish tip a Vagrantfile has beend added.
Using Vagrant to create a virtual development environment is quite simple by follow these steps:
- Install Virtual Box
- Install Vagrant
- Install Vagrant-Berkshelf Plugin
- Install Chef
The present (vagrant) configuration uses Berkshelf >= 3.0, which required Vagrant >= 1.5.2 as well as vagrant-berkshelf plugin >= 2.0.0. The instructions below have been successfully applied on Debian 7.5.
cd /tmp
wget https://dl.bintray.com/mitchellh/vagrant/vagrant_1.6.3_x86_64.deb
dpkg -i vagrant_1.6.3_x86_64.deb
vagrant plugin install vagrant-berkshelf --plugin-version 2.0.1
cd /tmp
git clone git@github.com:GeBeater/dotdeb-cookbook.git
cd dotdeb-cookbook
vagrant up
In order to validate changes at the recipes and these effects you can provision the
virtual environment via the vagrant provision
command from the host system.
The lint tool and spec can be run from the guest system in the folder /vagrant
via bundle exec rake
.