diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/mirrorbrain/manifests/init.pp | 7 | ||||
-rw-r--r-- | modules/mirrorbrain/templates/mod_mirrorbrain.conf | 3 |
2 files changed, 10 insertions, 0 deletions
diff --git a/modules/mirrorbrain/manifests/init.pp b/modules/mirrorbrain/manifests/init.pp index c551699c..5d23c2d9 100644 --- a/modules/mirrorbrain/manifests/init.pp +++ b/modules/mirrorbrain/manifests/init.pp @@ -49,6 +49,13 @@ class mirrorbrain { content => template('mirrorbrain/geoip.conf') } + file { '/etc/httpd/conf/modules.d/11-mirrorbrain.conf': + owner => 'root', + group => 'root', + mode => '0644', + content => template('mirrorbrain/mod_mirrorbrain.conf') + } + file { '/etc/mirrorbrain.conf': owner => 'root', group => 'apache', diff --git a/modules/mirrorbrain/templates/mod_mirrorbrain.conf b/modules/mirrorbrain/templates/mod_mirrorbrain.conf new file mode 100644 index 00000000..9b67d7fe --- /dev/null +++ b/modules/mirrorbrain/templates/mod_mirrorbrain.conf @@ -0,0 +1,3 @@ +LoadModule form_module modules/mod_form.so +LoadModule mirrorbrain_module modules/mod_mirrorbrain.so + |