diff options
author | Dan Fandrich <danf@mageia.org> | 2025-09-09 17:38:03 -0700 |
---|---|---|
committer | Dan Fandrich <danf@mageia.org> | 2025-09-09 17:42:40 -0700 |
commit | 01f91f2afbae65214de94345b7fe178208953941 (patch) | |
tree | b123614f184f3febc23b74389bf58524ccc5ebec /modules/viewvc/manifests | |
parent | 6802d174773aa5b2aa929bf6ec049d07d9761b10 (diff) | |
download | puppet-master.tar puppet-master.tar.gz puppet-master.tar.bz2 puppet-master.tar.xz puppet-master.zip |
These were intended to be enabled only on svnweb.mageia.org but
mirrors.mageia.org (and a couple others) were using the same template.
The changes in commit 6802d174 caused the anti-robot mitigation to be
triggered when urpmi downloaded $MIRRORLIST from a URL like
https://mirrors.mageia.org/api/mageia.9.x86_64.list?reason=update which
contains a query part. Fork the template so only svnweb gets these
features, which was the original intent.
Diffstat (limited to 'modules/viewvc/manifests')
-rw-r--r-- | modules/viewvc/manifests/init.pp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/viewvc/manifests/init.pp b/modules/viewvc/manifests/init.pp index e1d336c9..bd676f29 100644 --- a/modules/viewvc/manifests/init.pp +++ b/modules/viewvc/manifests/init.pp @@ -62,13 +62,13 @@ class viewvc { apache::vhost::base { $viewvc::var::hostname: aliases => $vhost_aliases, - content => template('apache/vhost_fcgid.conf'), + content => template('apache/vhost_fcgid_norobot.conf'), } apache::vhost::base { "ssl_${viewvc::var::hostname}": vhost => $viewvc::var::hostname, use_ssl => true, aliases => $vhost_aliases, - content => template('apache/vhost_fcgid.conf'), + content => template('apache/vhost_fcgid_norobot.conf'), } } |