Puppet Class: sysctl

Defined in:
manifests/init.pp

Overview

Class: sysctl

Configure sysctl values on a Mac



5
6
7
8
9
10
11
12
13
14
15
16
17
# File 'manifests/init.pp', line 5

class sysctl (
) {
  $hiera_values = hiera_hash('::sysctl:entries', {})

  file { '/etc/sysctl.conf':
    ensure => file,
    owner  => 'root',
    group  => 'wheel',
    mode   => '0644'
  }

  create_resources(sysctl::entry, $hiera_values)
}