Commit f1af54f9 authored by mh's avatar mh
Browse files

finish itk_plus implementation

parent 28e6799d
# Example configuration file for the mod_security Apache module
LoadModule security2_module modules/
LoadModule unique_id_module modules/
<IfModule mod_security2.c>
# This is the ModSecurity Core Rules Set.
# Basic configuration goes in here
Include modsecurity.d/*.conf
Include modsecurity.d/base_rules/*.conf
Include modsecurity.d/modsecurity_localrules.conf
class mod_security::centos inherits mod_security::base {
source => "modules/mod_security/normal/${operatingsystem}/mod_security.conf",
require => Package['mod_security'],
notify => Service['apache'],
content => "Include modsecurity.d/optional_rules/*.conf\n",
ensure => $mod_security_optional_rules ? {
class mod_security::itk_plus inherits mod_security::itk {
case $operatingsystem {
centos: { include mod_security::itk_plus::centos }
class mod_security::itk_plus::centos {
class mod_security::itk_plus::centos inherits mod_security::centos {
source => "modules/mod_security/itk_plus/${operatingsystem}/mod_security.conf",
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment