diff options
| author | Thomas Backlund <tmb@mageia.org> | 2016-03-14 22:24:36 +0200 |
|---|---|---|
| committer | Thomas Backlund <tmb@mageia.org> | 2016-03-14 22:24:36 +0200 |
| commit | 661e478ba3956ff38f86e6a5492939eadc75432d (patch) | |
| tree | f9943a14b4f6b59d42accf1e4a2909f85438e9a0 /modules/mirrorbrain/templates | |
| parent | 2362f0803cbe7514214b5abc1b96c971e349c302 (diff) | |
| download | puppet-661e478ba3956ff38f86e6a5492939eadc75432d.tar puppet-661e478ba3956ff38f86e6a5492939eadc75432d.tar.gz puppet-661e478ba3956ff38f86e6a5492939eadc75432d.tar.bz2 puppet-661e478ba3956ff38f86e6a5492939eadc75432d.tar.xz puppet-661e478ba3956ff38f86e6a5492939eadc75432d.zip | |
add mirrorbrain module
Diffstat (limited to 'modules/mirrorbrain/templates')
| -rw-r--r-- | modules/mirrorbrain/templates/geoip.conf | 5 | ||||
| -rw-r--r-- | modules/mirrorbrain/templates/mirrorbrain.conf | 14 | ||||
| -rw-r--r-- | modules/mirrorbrain/templates/webapp.conf | 14 |
3 files changed, 33 insertions, 0 deletions
diff --git a/modules/mirrorbrain/templates/geoip.conf b/modules/mirrorbrain/templates/geoip.conf new file mode 100644 index 00000000..1f71a67d --- /dev/null +++ b/modules/mirrorbrain/templates/geoip.conf @@ -0,0 +1,5 @@ +<IfModule mod_geoip.c> + GeoIPEnable On + GeoIPDBFile /var/lib/GeoIP/GeoLiteCity.dat.updated + GeoIPOutput Env +</IfModule> diff --git a/modules/mirrorbrain/templates/mirrorbrain.conf b/modules/mirrorbrain/templates/mirrorbrain.conf new file mode 100644 index 00000000..6dd3c0ac --- /dev/null +++ b/modules/mirrorbrain/templates/mirrorbrain.conf @@ -0,0 +1,14 @@ +[general] +instances = main + +[main] +dbuser = mirrorbrain +dbpass = <%= pgsql_password %> +dbdriver = postgresql +dbhost = pgsql.<%= domain %> +# optional: dbport = ... +dbname = mirrorbrain + +[mirrorprobe] +# logfile = /var/log/mirrorbrain/mirrorprobe.log +# loglevel = INFO diff --git a/modules/mirrorbrain/templates/webapp.conf b/modules/mirrorbrain/templates/webapp.conf new file mode 100644 index 00000000..787bbc7b --- /dev/null +++ b/modules/mirrorbrain/templates/webapp.conf @@ -0,0 +1,14 @@ +<Directory ${mb_repo}> + MirrorBrainEngine On + MirrorBrainDebug Off + FormGET On + MirrorBrainHandleHEADRequestLocally Off + #MirrorBrainMinSize 2048 + #MirrorBrainExcludeUserAgent rpm/4.4.2* + #MirrorBrainExcludeUserAgent *APT-HTTP* + #MirrorBrainExcludeMimeType application/pgp-keys + Options FollowSymLinks Indexes + AllowOverride None + Order allow,deny + Require all granted +</Directory>
\ No newline at end of file |
