cookbook 'jn_sysctl', '= 1.0.2'
jn_sysctl (6) Versions 1.0.2 Follow5
Configure/Set sysctl paramaters
cookbook 'jn_sysctl', '= 1.0.2', :supermarket
knife supermarket install jn_sysctl
knife supermarket download jn_sysctl
DESCRIPTION
Manage sysctl sysctl provider.
Default recipe reads key value pairs from node attributes and esures the system state.
Attributes
-
sysctl: Hash of k/v pairs with sysctl settings.
Sysctl LWRP
Properties
- name: The key name. Defaults to the resource name i.e. sysctl
- value: what to set this key to
Known Bugs
- This provider will always write out on any platform thats not mac/linux. Only really tested on Linux/OSX/Solaris.
Example Usage
LWRP
sysctl "kernel.sysrq" do
value 1
end
Attributes
In a role or overide:
{
"sysctl": {
"net.ipv4.tcp_window_scaling": 0
}
}
Check out attributes/example.rb For more attribute examples.
Change Log
- 1.0.2: Initial public release
Author and Licsense
Author jesse nelson spheromak@gmail.com
Copyright 2011, Jesse Nelson
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.