nmd-skeletor (0.2.0) Base skeleton Cookbook
This is the base skeleton Cookbook for New Media Denver's Chef Cookbooks. This skeleton helps rapidly test, deploy, and update a Chef recipe. The skeleton that we have built leverages Chef metadata and uses tools such as ruby linters, rake, rspec, travis. In this version, kitchen is configured to use Docker.
every_distro >= 0.2.0
none/yet/path
calculated: false
choice: []
default: none/yet/path
description: This is an example attribute defined in chef metadata
display_name: [:skeletor][:attribute][:path]
type: string
recipes: ["nmd-skeletor::recipe"]
required: recommended
<Rake::Task default => [test]>
<Rake::Task foodcritic => []>
Run Foodcritic lint checks
<Rake::Task integration => [kitchen:all]>
Alias for kitchen:all
<Rake::Task kitchen:all => [default-centos-6, default-ubuntu-1404]>
Run all test instances
<Rake::Task kitchen:default-centos-6 => []>
Run default-centos-6 test instance
<Rake::Task kitchen:default-ubuntu-1404 => []>
Run default-ubuntu-1404 test instance
<Rake::Task readme => []>
Generate the Readme.md file.
<Rake::Task rubocop => []>
Run RuboCop style and lint checks
<Rake::Task rubocop:auto_correct => []>
Auto-correct RuboCop offenses
<Rake::Task spec => []>
Run ChefSpec examples
<Rake::Task test => [rubocop, foodcritic, spec]>
Run all tests
The following engineers have contributed to this code:
- Kevin Bridges - 11 commits
- David Arnold, DavidXArnold - 12 commits
Copyright:: 2014, NewMedia Denver
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.
We welcome contributed improvements and bug fixes via the usual workflow:
- Fork this repository
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new pull request