dev/provisioning/modules/apache/manifests/mod/shib.pp
author ymh <ymh.work@gmail.com>
Fri, 12 Feb 2016 22:31:48 +0100
changeset 123 4c97e9da1416
parent 28 b0b56e0f8c7f
permissions -rw-r--r--
Remove use of global variables + remove ember-cli-content-security-policy from package.json to avoid bogus csp violation warnings

class apache::mod::shib (
  $suppress_warning = false,
) {

  if $::osfamily == 'RedHat' and ! $suppress_warning {
    warning('RedHat distributions do not have Apache mod_shib in their default package repositories.')
  }

  $mod_shib = 'shib2'

  apache::mod {$mod_shib:
    id => 'mod_shib',
  }

}