Puppet Class: cis_benchmark::trusty64::autofsconf

Defined in:
manifests/trusty64/autofsconf.pp

Overview



8
9
10
11
12
13
14
15
16
17
18
19
20
21
# File 'manifests/trusty64/autofsconf.pp', line 8

class cis_benchmark::trusty64::autofsconf {
  ## local variables: stig items
  $cis_1_1_21      = $::cis_benchmark::cis_1_1_21

  ## 1.1.21 Disable Automounting (Scored)
  if ($cis_1_1_21 and $isfile_autofsconf) {
      comment_line { '1_1_21':
          ensure   => commented,
          path     => '/etc/init/autofs.conf',
          match    => 'start',
          require  => cis::global::cis_modules,
      }
  }
}