cookbook 'blp-grub', '= 1.0.1'
blp-grub (3) Versions 1.0.1 Follow2
Configures grub
cookbook 'blp-grub', '= 1.0.1', :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.1]
- fix quoting for strings with spaces vs non spaced values
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.
License Metric
1.0.1 passed this metric
1.0.1 passed this metric