cookbook 'dotdeb_repo', '~> 1.1.0'
dotdeb_repo (2) Versions 1.1.0 Follow0
A cookbook to add the Dotdeb repository for Debian-based LAMP servers to the sources.list.d.
cookbook 'dotdeb_repo', '~> 1.1.0', :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".
Attributes
-
['dotdeb_repo']['priority']
- the priority of the repository (default 700)
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
Version Requirements
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
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)
Collaborator Number Metric
1.1.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
1.1.0 failed this metric
FC064: Ensure issues_url is set in metadata: dotdeb_repo/metadata.rb:1
FC065: Ensure source_url is set in metadata: dotdeb_repo/metadata.rb:1
FC066: Ensure chef_version is set in metadata: dotdeb_repo/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.1.0 passed this metric
Testing File Metric
1.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.1.0 failed this metric
1.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
1.1.0 failed this metric
FC064: Ensure issues_url is set in metadata: dotdeb_repo/metadata.rb:1
FC065: Ensure source_url is set in metadata: dotdeb_repo/metadata.rb:1
FC066: Ensure chef_version is set in metadata: dotdeb_repo/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.1.0 passed this metric
Testing File Metric
1.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.1.0 failed this metric
FC065: Ensure source_url is set in metadata: dotdeb_repo/metadata.rb:1
FC066: Ensure chef_version is set in metadata: dotdeb_repo/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
1.1.0 passed this metric
Testing File Metric
1.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.1.0 failed this metric
1.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number