cookbook 'L7-sysfs', '= 0.0.6'
L7-sysfs (6) Versions 0.0.6 Follow0
Configures sysfs
cookbook 'L7-sysfs', '= 0.0.6', :supermarket
knife supermarket install L7-sysfs
knife supermarket download L7-sysfs
L7-sysfs cookbook
Description
Configures sysfs kernel subsystem control parameters via Opscode Chef in /etc/sysfs.conf
Supported Platforms
- Ubuntu 12.04+
- Debian 7.0+
Recipes
-
L7-sysfs
- The default no-op recipe. - Predefined parameters:
-
L7-sysfs::nic_tuning
- Sets tx queue length to higher value and increase rps queue. -
L7-sysfs::disk_tuning
- Set io scheduler and rq affinity. -
L7-sysfs::tsc_clocksource
- Sets clocksource to tsc. -
L7-sysfs::disable_thp
- Disables transparent huge pages.
Usage
- name: The sysfs parameter.
- comment: Optional string for identification.
- value: Must be set to proper value.
- immediately: Optional true/false. Sets value at runtime or at the end of chef run.
L7_sysfs 'devices/system/clocksource/clocksource0/current_clocksource' do comment 'Set clocksource to tsc' value 'tsc' immediately true end
TODO
- Rewrite to LWRP
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
License
- Freely distributable and licensed under the MIT license.
- Copyright (c) 2015 Gabor Szelcsanyi
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Foodcritic Metric
0.0.6 failed this metric
FC015: Consider converting definition to a LWRP: /tmp/cook/1193e619cd290366bffedda6/L7-sysfs/definitions/default.rb:1
0.0.6 failed this metric