summaryrefslogtreecommitdiff
path: root/puppet/modules/sysctl/README
blob: a3980f706fce7bebfe70180330e43d66bf61ad19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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",
}