aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mirrorbrain
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2016-03-14 23:32:27 +0200
committerThomas Backlund <tmb@mageia.org>2016-03-14 23:32:27 +0200
commit298d4fc48711ce77328a55dc1061492098ca6317 (patch)
treec4a21c492977c5aec761270c33ee9a2d56a12c2a /modules/mirrorbrain
parent0e61e00d9285e6bb8e032518ef1f028eb54ef81b (diff)
downloadpuppet-298d4fc48711ce77328a55dc1061492098ca6317.tar
puppet-298d4fc48711ce77328a55dc1061492098ca6317.tar.gz
puppet-298d4fc48711ce77328a55dc1061492098ca6317.tar.bz2
puppet-298d4fc48711ce77328a55dc1061492098ca6317.tar.xz
puppet-298d4fc48711ce77328a55dc1061492098ca6317.zip
mirrorbrain: load mod_dbd and mod_mirrorbrain
Diffstat (limited to 'modules/mirrorbrain')
-rw-r--r--modules/mirrorbrain/manifests/init.pp7
-rw-r--r--modules/mirrorbrain/templates/mod_mirrorbrain.conf3
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
+