cookbook 'dotdeb_repo', '= 1.0.2'
dotdeb_repo (2) Versions 1.0.2 Follow0
A cookbook to add the Dotdeb repository for Debian-based LAMP servers to the sources.list.d.
cookbook 'dotdeb_repo', '= 1.0.2', :supermarket
knife supermarket install dotdeb_repo
knife supermarket download dotdeb_repo
dotdeb_repo Cookbook
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/ .
Recipes
dotdeb_repo::default
Adds the main repository to the sources.list.d and installs the GnuPG key.
dotdeb_repo::php_newest
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".
Contribution
Virtual Development Environment
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
Preparation of the Virtual Environment
cd /tmp git clone git@github.com:GeBeater/dotdeb-cookbook.git cd dotdeb-cookbook vagrant up
Tests
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
.
License
[MIT License](LICENSE.txt)