From 9a5b4d4b56ce78d918ef6a978047bdc4d9bfb72a Mon Sep 17 00:00:00 2001 From: mh Date: Sun, 12 Oct 2014 12:18:05 +0200 Subject: a first shot of tests --- manifests/vhost/php/silverstripe.pp | 2 +- manifests/vhost/php/typo3.pp | 2 +- manifests/vhost/php/wordpress.pp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'manifests/vhost') diff --git a/manifests/vhost/php/silverstripe.pp b/manifests/vhost/php/silverstripe.pp index e7c7f24..81b0d7f 100644 --- a/manifests/vhost/php/silverstripe.pp +++ b/manifests/vhost/php/silverstripe.pp @@ -72,7 +72,7 @@ define apache::vhost::php::silverstripe( default => "${path}/www" } $modsec_rules = ['960010'] - $real_mod_security_rules_to_disable = array_union($mod_security_rules_to_disable,$modsec_rules) + $real_mod_security_rules_to_disable = union($mod_security_rules_to_disable,$modsec_rules) # create vhost configuration file ::apache::vhost::php::webapp{$name: diff --git a/manifests/vhost/php/typo3.pp b/manifests/vhost/php/typo3.pp index 518f898..a963c70 100644 --- a/manifests/vhost/php/typo3.pp +++ b/manifests/vhost/php/typo3.pp @@ -70,7 +70,7 @@ define apache::vhost::php::typo3( } $modsec_rules = ['960010'] - $real_mod_security_rules_to_disable = array_union($mod_security_rules_to_disable,$modsec_rules) + $real_mod_security_rules_to_disable = union($mod_security_rules_to_disable,$modsec_rules) if $mod_security_additional_options == 'absent' { $real_mod_security_additional_options = ' diff --git a/manifests/vhost/php/wordpress.pp b/manifests/vhost/php/wordpress.pp index 268f33e..00e1898 100644 --- a/manifests/vhost/php/wordpress.pp +++ b/manifests/vhost/php/wordpress.pp @@ -70,7 +70,7 @@ define apache::vhost::php::wordpress( default => "${path}/www" } $modsec_rules = ["960010", "950018"] - $real_mod_security_rules_to_disable = array_union($mod_security_rules_to_disable,$modsec_rules) + $real_mod_security_rules_to_disable = union($mod_security_rules_to_disable,$modsec_rules) # create vhost configuration file apache::vhost::php::webapp{$name: -- cgit v1.2.3