view modules/apache/manifests/default_confd_files.pp @ 478:adf6fe9bbc17

Update Puppet modules to latest versions
author IBBoard <dev@ibboard.co.uk>
date Thu, 29 Aug 2024 18:47:29 +0100
parents b8d6ada284dd
children
line wrap: on
line source

# @summary
#   Helper for setting up default conf.d files.
#
# @api private
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
      }
    }
  }
}