Puppet Class: apache::default_confd_files

Defined in:
manifests/default_confd_files.pp

Summary

Helper for setting up default conf.d files.

Overview

Parameters:

  • all (Boolean) (defaults to: true)


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

class apache::default_confd_files (
  Boolean $all = true,
) {
  # The rest of the conf.d/* files only get loaded if we want them
  if $all {
    case $facts['os']['family'] {
      'FreeBSD': {
        include apache::confd::no_accf
      }
      default: {
        # do nothing
      }
    }
  }
}