cookbook 'blp-grub', '= 1.0.0'
blp-grub (3) Versions 1.0.0 Follow2
Configures grub
cookbook 'blp-grub', '= 1.0.0', :supermarket
knife supermarket install blp-grub
knife supermarket download blp-grub
blp-grub cookbook
Cookbook which configures the Grub Bootloader.
Platforms
The following platforms are tested automatically
using Test Kitchen, in Docker, with
the default suite of integration tests:
- Ubuntu 12.04/14.04/16.04
- CentOS (RHEL) 6/7
Basic Usage
The [default recipe](recipes/default.rb) gives you the ability to pass
attributes to tune your grub settings. There are currently no
defaults in this cookbook so your regular distrobution provided grub
file will remain intact. You can tweak the settings in the
Policefile.rb or directly using attributes. All GRUB specific settings
should use underscores like the examples below.
Recipe
node.default['grub']['config']['settings']['timeout'] = 30 node.default['grub']['config']['settings']['distributor'] = "$(sed 's, release .*$,,g' /etc/system-release)" node.default['grub']['config']['settings']['terminal_output'] = "console"
Policyfile
name 'grub' default_source :community run_list 'blp-grub::default' override['grub']['config']['settings']['timeout'] = 30 override['grub']['config']['settings']['distributor'] = "$(sed 's, release .*$,,g' /etc/system-release)" override['grub']['config']['settings']['terminal_output'] = "console"
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Change Log
All notable changes to this project will be documented in this file.
This project adheres to Semantic Versioning.
1.0.0
- Rename and move cookbook under bloomberg-cookbooks organization.
- Update cookbook to use Chef 12 resource DSL.
- Updates integration tests to use InSpec and Policyfiles.
Collaborator Number Metric
1.0.0 passed this metric
Contributing File Metric
1.0.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.0.0 passed this metric
No Binaries Metric
1.0.0 passed this metric
Testing File Metric
1.0.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.0.0 passed this metric
1.0.0 passed this metric
1.0.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.0.0 passed this metric
No Binaries Metric
1.0.0 passed this metric
Testing File Metric
1.0.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.0.0 passed this metric
1.0.0 passed this metric
1.0.0 passed this metric
Testing File Metric
1.0.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.0.0 passed this metric
1.0.0 failed this metric
1.0.0 passed this metric