cookbook 'linux', '~> 0.2.1'
linux (4) Versions 0.2.1 Follow5
Configures Linux kernel parameters
cookbook 'linux', '~> 0.2.1', :supermarket
knife supermarket install linux
knife supermarket download linux
chef-linux
Configures Linux kernel parameters
Supported Platforms
- Debian GNU/Linux
- Ubuntu Linux
Examples
Disable Transparent Huge Page Compaction.
linux_transparent_hugepage "Disable Transparent Hugepage Compaction" do defrag "never" end
Change the I/O scheduler of /dev/sdb
to noop
.
linux_io_scheduler "/dev/sdb" do block_device "/dev/sdb" scheduler "noop" end
License and Authors
Copyright 2015 Yamashita, Yuu (yuu@treasure-data.com)
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.
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
0.1.0
Initial release of chef-linux
Collaborator Number Metric
0.2.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.2.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.2.1 failed this metric
FC085: Resource using new_resource.updated_by_last_action to converge resource: linux/providers/io_scheduler.rb:12
FC085: Resource using new_resource.updated_by_last_action to converge resource: linux/providers/transparent_hugepage.rb:12
FC085: Resource using new_resource.updated_by_last_action to converge resource: linux/providers/transparent_hugepage.rb:16
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.2.1 passed this metric
Testing File Metric
0.2.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.2.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.2.1 failed this metric
0.2.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.2.1 failed this metric
FC085: Resource using new_resource.updated_by_last_action to converge resource: linux/providers/io_scheduler.rb:12
FC085: Resource using new_resource.updated_by_last_action to converge resource: linux/providers/transparent_hugepage.rb:12
FC085: Resource using new_resource.updated_by_last_action to converge resource: linux/providers/transparent_hugepage.rb:16
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.2.1 passed this metric
Testing File Metric
0.2.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.2.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.2.1 failed this metric
FC085: Resource using new_resource.updated_by_last_action to converge resource: linux/providers/transparent_hugepage.rb:12
FC085: Resource using new_resource.updated_by_last_action to converge resource: linux/providers/transparent_hugepage.rb:16
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.2.1 passed this metric
Testing File Metric
0.2.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.2.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.2.1 failed this metric
0.2.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