guruhub / puppet-sysctl Goto Github PK
View Code? Open in Web Editor NEWThis project forked from duritong/puppet-sysctl
Puppet module to manage sysctl
Home Page: http://www.immerda.ch
This project forked from duritong/puppet-sysctl
Puppet module to manage sysctl
Home Page: http://www.immerda.ch
= Requirements = Overview This modules allows to configure sysctl. = Usage node "mynode" inherits ... { sysctl::value { "vm.nr_hugepages": value => "1583"} } When setting a key that contains multiple values, use a tab to separate the values: node "mynode" inherits ... { sysctl::value { 'net.ipv4.tcp_rmem': value => "4096\t131072\t131072", } } To avoid duplication the sysctl::value calls multiple settings can be managed like this: $my_sysctl_settings = { "net.ipv4.ip_forward => { value => 1 }, "net.ipv6.conf.all.forwarding => { value => 1 }, } # Specify defaults for all the sysctl::value to be created ( $my_sysctl_defaults = { require => Package['aa'] } create_resources(sysctl::value,$my_sysctl_settings,$my_sysctl_defaults) The sysctl binary needs to be found in your Path. It is preferred that you set your exec path globally. This is usually done in site.pp and would look something like this (adjust for your environment): # Set a site-wide global path so we don't have to explicitly specify a path # for each exec. Exec { path => '/usr/bin:/usr/sbin/:/bin:/sbin' } = License Copyright (C) 2011 Immerda Project Group Author mh <[email protected]> Modified by Nicolas Zin <[email protected]> Licence: GPL v2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.