cookbook 'il-base', '~> 0.4.4'
il-base (4) Versions 0.4.4 Follow0
Installs/Configures il_base
cookbook 'il-base', '~> 0.4.4', :supermarket
knife supermarket install il-base
knife supermarket download il-base
il-base cookbook
IL-Base is a application cookbook around base cookbooks and recipes we want to include in our environments.
Some are default as we need them to be on our nodes, some are attribute driven so we can specify if we want to include them.
Supported Platforms
- Ubuntu
Attributes
default.rb
Inlcude the apt cookbook
default['base']['include']['apt'] = true
Include the chef_client cookbook
default['base']['include']['chef-client'] = false
Include a simple report handler which outputs updated resources to stdout
default['base']['include']['simple_report_handler'] = true
Include the hipchat handler
default['base']['include']['hipchat_handler'] = false
Include the slack handler
default['base']['include']['slack_handler'] = false
Include chef-sugar
default['base']['include']['chef-sugar'] = true
Include the ntp cookbook
default['base']['include']['ntp'] = true
Include motd
default['base']['include']['motd'] = true default['base']['motd']['operation_tools'] = true
Include some operations tools
default['base']['include']['operation_tools'] = true default['base']['operation-tools'] = %w( htop iotop apachetop atop nmon dstat iftop nload )
Include build_essential cookbook
default['base']['include']['build_essential'] = false
Usage
il-base::default
Include il-base
in your node's run_list
:
{ "run_list": [ "recipe[il-base::default]" ] }
Contributing
- Fork the repository on Github
- Create a named feature branch (i.e.
add-new-recipe
) - Write you change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request
License and Authors
Author:: Edmund Haselwanter (me@ehaselwanter.com)
Dependent cookbooks
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.4.4 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.4.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
0.4.4 failed this metric
FC122: Use the build_essential resource instead of the recipe: il-base/recipes/default.rb:24
FC122: Use the build_essential resource instead of the recipe: il-base/recipes/default.rb:37
FC122: Use the build_essential resource instead of the recipe: il-base/recipes/default.rb:46
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.4.4 passed this metric
Testing File Metric
0.4.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
0.4.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
0.4.4 failed this metric
0.4.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
0.4.4 failed this metric
FC122: Use the build_essential resource instead of the recipe: il-base/recipes/default.rb:24
FC122: Use the build_essential resource instead of the recipe: il-base/recipes/default.rb:37
FC122: Use the build_essential resource instead of the recipe: il-base/recipes/default.rb:46
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.4.4 passed this metric
Testing File Metric
0.4.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
0.4.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
0.4.4 failed this metric
FC122: Use the build_essential resource instead of the recipe: il-base/recipes/default.rb:37
FC122: Use the build_essential resource instead of the recipe: il-base/recipes/default.rb:46
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.4.4 passed this metric
Testing File Metric
0.4.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
0.4.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
0.4.4 failed this metric
0.4.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