cookbook 'dotdeb', '~> 1.1.4'
dotdeb (4) Versions 1.1.4 Follow2
installs/configures dotdeb apt repositories
cookbook 'dotdeb', '~> 1.1.4', :supermarket
knife supermarket install dotdeb
knife supermarket download dotdeb
dotdeb
dotdeb installs apt repositories of dotdeb
Dependencies
This cookbook depends on the following community cookbooks.
- apt (leverages apt_repository LWRP)
The apt_repository
LWRP is used from this cookbook to create the proper repository entries.
Platform
The following platforms are supported and tested:
- Debian 6.x
- Debian 7.x
- Debian 8.x
- Ubuntu 14.04.x
- Ubuntu 15.04.x
Development
- Fork the repository from GitHub.
-
Clone your fork to your local machine:
$ git clone git@github.com:USER/chef-dotdeb.git
-
Create a git branch
$ git checkout -b my_bug_fix
Write tests
Make your changes/patches/fixes, committing appropriately
Run the tests:
foodcritic
,rubocop
,kitchen test
Push your changes to GitHub
Open a Pull Request
Testing
chef-dotdeb is on Travis CI which tests against multiple Chef and Ruby versions.
The following Rake tasks are provided for automated testing of the cookbook:
-
rake rubocop
- Run [RuboCop] style and lint checks -
rake foodcritic
- Run [Foodcritic] lint checks -
rake integration
- Run [Test Kitchen] integration tests (provisions a Vagrant VM using this cookbook and then tests the infrastructure with [Serverspec]) -
rake test
- Run all tests
License and Authors
- Author:: Achim Rosenhagen (a.rosenhagen@ffuenf.de)
- Author:: Yevhen Viktorov (yev@bdhr.co)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
CHANGELOG for dotdeb
This file is used to list changes made in each version of dotdeb.
1.1.4
- housekeeping: update versions for test-kitchen
- compatibility to apt community cookbook
1.1.3
- adjust/exclude php-repositories for Debian 8.0 Jessie
1.1.2
- add Yevhen Viktorov (yev@bdhr.co) as contributor
- release on supermarket.chef.io
1.1.1
- added all different setting for php
- refactore php_version logic
- update/integrate testsuites: test-kitchen, foodcritic, rubocop, travis-ci
1.1.0
- update/integrate testsuites: test-kitchen, foodcritic, rubocop, travis-ci
- prepare for release on supermarket.chef.io
1.0.1
- added setting for php56 (wheezy)
0.0.9
- add node.default['dotdeb']['gpg-key'] to circumvent downtime of website
0.0.8:
- set default distribution to debian 7 (wheezy)
- introduce test-kitchen
0.0.7:
- added setting for php55 (wheezy)
0.0.6:
- added dotdeb components other than php54
0.0.5:
- rewrite to set uri and distribution manually
- removed mirror handling
0.0.4:
- correct dotdeb mirror and php54 setting
0.0.3:
- added dotdeb mirror setting
0.0.2:
- added proper apt_repository update
0.0.1:
- Initial release of dotdeb
Collaborator Number Metric
1.1.4 failed this metric
Failure: Cookbook has 1 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.1.4 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.4 failed this metric
FC064: Ensure issues_url is set in metadata: dotdeb/metadata.rb:1
FC065: Ensure source_url is set in metadata: dotdeb/metadata.rb:1
FC066: Ensure chef_version is set in metadata: dotdeb/metadata.rb:1
FC069: Ensure standardized license defined in metadata: dotdeb/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.4 failed this metric
Failure: Cookbook should not contain binaries. Found:
dotdeb/files/default/dotdeb.gpg
Testing File Metric
1.1.4 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.4 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.4 failed this metric
1.1.4 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.4 failed this metric
FC064: Ensure issues_url is set in metadata: dotdeb/metadata.rb:1
FC065: Ensure source_url is set in metadata: dotdeb/metadata.rb:1
FC066: Ensure chef_version is set in metadata: dotdeb/metadata.rb:1
FC069: Ensure standardized license defined in metadata: dotdeb/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.4 failed this metric
Failure: Cookbook should not contain binaries. Found:
dotdeb/files/default/dotdeb.gpg
Testing File Metric
1.1.4 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.4 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.4 failed this metric
FC065: Ensure source_url is set in metadata: dotdeb/metadata.rb:1
FC066: Ensure chef_version is set in metadata: dotdeb/metadata.rb:1
FC069: Ensure standardized license defined in metadata: dotdeb/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
1.1.4 failed this metric
Failure: Cookbook should not contain binaries. Found:
dotdeb/files/default/dotdeb.gpg
Testing File Metric
1.1.4 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.4 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.4 failed this metric
1.1.4 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