summaryrefslogtreecommitdiff
path: root/puppet/modules/sysctl/README
diff options
context:
space:
mode:
authorMicah <micah@leap.se>2016-07-12 16:46:31 -0400
committerMicah <micah@leap.se>2016-07-12 16:46:31 -0400
commita75fea409bf8e62e55ba341672c202aab5fa480e (patch)
tree829b97fbc74703d4301bfcfa658cb1cae329eba8 /puppet/modules/sysctl/README
parent6a895ece94a86c9ccc32c9bec51413d4e4f0df8e (diff)
git subrepo clone https://leap.se/git/puppet_sysctl puppet/modules/sysctl
subrepo: subdir: "puppet/modules/sysctl" merged: "975852b" upstream: origin: "https://leap.se/git/puppet_sysctl" branch: "master" commit: "975852b" git-subrepo: version: "0.3.0" origin: "https://github.com/ingydotnet/git-subrepo" commit: "1e79595" Change-Id: Ica1925ea414df32850d0358ae17d6c704ae6fa7d
Diffstat (limited to 'puppet/modules/sysctl/README')
-rw-r--r--puppet/modules/sysctl/README20
1 files changed, 20 insertions, 0 deletions
diff --git a/puppet/modules/sysctl/README b/puppet/modules/sysctl/README
new file mode 100644
index 00000000..a3980f70
--- /dev/null
+++ b/puppet/modules/sysctl/README
@@ -0,0 +1,20 @@
+sysctl module
+-------------
+
+This puppet module handles the setting of variables in sysctl.conf, its
+a simple module that utilizes the puppet augeas built-in type and the
+sysctl binary. You must have the augeas ruby libraries installed to
+use this type.
+
+You can set a value and a comment for that value using this module,
+some examples:
+
+sysctl::config { "vm.mmap_min_addr":
+ value => 32768,
+ comment => "Never mmap into the first 32k of memory",
+}
+
+sysctl::config { "fs.file-max":
+ value => 65536,
+ comment => "Maximum number of filehandles",
+}