cookbook 'sysconfig', '~> 0.1.1'
sysconfig (2) Versions 0.1.1 Follow1
Configures sysconfig
cookbook 'sysconfig', '~> 0.1.1', :supermarket
knife supermarket install sysconfig
knife supermarket download sysconfig
Sysconfig Cookbook
Cookbook which configures Sysconfig.
Platforms
The following platforms are tested using Test Kitchen:
- CentOS (RHEL) 5/6/7
Basic Usage
The [default recipe](recipes/default.rb) gives you the ability to pass attributes and setup sysconfig files on the filesystem.
You can tweak the settings in the Policefile.rb or directly using attributes. All Sysconfig specific settings
should use underscores like the examples below.
Recipe
default['sysconfig']['servicename'] = 'something' default['sysconfig']['something']['config']['settings']['kernel_test'] = 'something' default['sysconfig']['something']['config']['settings']['kernel_test2'] = 'something2' default['sysconfig']['something']['config']['settings']['kernel_test3'] = 'something3'
For mutliple sysconfig files you can pass as an array
ruby
default['sysconfig']['servicename'] = ['something','something2']
default['sysconfig']['something']['config']['settings']['kernel_test'] = 'something'
default['sysconfig']['something']['config']['settings']['kernel_test2'] = 'something2'
default['sysconfig']['something']['config']['settings']['kernel_test3'] = 'something3'
default['sysconfig']['something2']['config']['settings']['kernel_test'] = 'something'
default['sysconfig']['something2']['config']['settings']['kernel_test2'] = 'something2'
default['sysconfig']['something2']['config']['settings']['kernel_test3'] = 'something3'
Policyfile
name 'sysconfig' default_source :community cookbook 'sysconfig', git: 'https://github.com/acaiafa/sysconfig-cookbook' run_list 'sysconfig::default' default['sysconfig']['servicename'] = 'something' default['sysconfig']['config']['settings']['kernel_test'] = 'something' default['sysconfig']['config']['settings']['kernel_test2'] = 'something2' default['sysconfig']['config']['settings']['kernel_test3'] = 'something3'
Dependent cookbooks
poise >= 0.0.0 |
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.
Unreleased
1.0.0
Bug Fixes
- Fixes integration test harness using Test Kitchen.
- Squashes several issues while testing locally and on machines.
Collaborator Number Metric
0.1.1 failed this metric
Failure: Cookbook has 1 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.1.1 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.1.1 failed this metric
FC064: Ensure issues_url is set in metadata: sysconfig/metadata.rb:1
FC065: Ensure source_url is set in metadata: sysconfig/metadata.rb:1
FC066: Ensure chef_version is set in metadata: sysconfig/metadata.rb:1
FC069: Ensure standardized license defined in metadata: sysconfig/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.1 passed this metric
Testing File Metric
0.1.1 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.1.1 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.1.1 failed this metric
0.1.1 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.1.1 failed this metric
FC064: Ensure issues_url is set in metadata: sysconfig/metadata.rb:1
FC065: Ensure source_url is set in metadata: sysconfig/metadata.rb:1
FC066: Ensure chef_version is set in metadata: sysconfig/metadata.rb:1
FC069: Ensure standardized license defined in metadata: sysconfig/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.1 passed this metric
Testing File Metric
0.1.1 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.1.1 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.1.1 failed this metric
FC065: Ensure source_url is set in metadata: sysconfig/metadata.rb:1
FC066: Ensure chef_version is set in metadata: sysconfig/metadata.rb:1
FC069: Ensure standardized license defined in metadata: sysconfig/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.1.1 passed this metric
Testing File Metric
0.1.1 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.1.1 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.1.1 failed this metric
0.1.1 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