diff --git a/manifests/mod_perl.pp b/manifests/mod_perl.pp index 7759edf865f44db9cc4eb8482ccd693ced56992d..27ddfa2317542cae6dc5dbbe46df1747c8fb437b 100644 --- a/manifests/mod_perl.pp +++ b/manifests/mod_perl.pp @@ -5,7 +5,7 @@ /* * Install the Apache mod_perl module. */ -class apache::mod_perl +class apache::mod_perl($options={}, $directives=[]) { include apache @@ -23,9 +23,9 @@ class apache::mod_perl apache::module::globalconfig { 'perl': loadmodule => 'perl_module modules/mod_perl.so', - directives => [], + directives => $directives, defaultoptions => $default_options, - options => { }, + options => $options, require => Package['mod_perl']; } } diff --git a/manifests/mod_ssl.pp b/manifests/mod_ssl.pp index 2f337deda4d99c4e6aca4358139a04ae0766b2fb..73a6509966fffa014953ba5b777cb240180ad684 100644 --- a/manifests/mod_ssl.pp +++ b/manifests/mod_ssl.pp @@ -7,7 +7,7 @@ * Note that unlike the ssl.conf that comes with the normal mod_ssl * package, we do not add a 'Listen 443' directive. */ -class apache::mod_ssl +class apache::mod_ssl($options={}, $directives=[]) { include apache @@ -33,9 +33,9 @@ class apache::mod_ssl apache::module::globalconfig { 'ssl': loadmodule => 'ssl_module modules/mod_ssl.so', - directives => [], + directives => $directives, defaultoptions => $default_options, - options => { }, + options => $options, require => Package['mod_ssl']; } } diff --git a/manifests/mod_wsgi.pp b/manifests/mod_wsgi.pp index 020c28cc86387d7b91ccc1440971cfb587382ef6..1c82b848a4e27c649edadede56eda66548bc0a57 100644 --- a/manifests/mod_wsgi.pp +++ b/manifests/mod_wsgi.pp @@ -5,7 +5,7 @@ /* * Install the Apache mod_wsgi module for running Python WSGI applications. */ -class apache::mod_wsgi +class apache::mod_wsgi($options={}, $directives=[]) { include apache @@ -22,9 +22,9 @@ class apache::mod_wsgi apache::module::globalconfig { 'wsgi': loadmodule => 'wsgi_module modules/mod_wsgi.so', - directives => [], + directives => $directives, defaultoptions => $default_options, - options => { }, + options => $options, require => Package['mod_wsgi']; } }