Skip to content

Commit bf30afc

Browse files
committed
include also default.conf into config repo's configuration
1 parent 2c24730 commit bf30afc

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

config-osg.opensciencegrid.org.conf

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Other than setting the CVMFS_SERVER_URL, this file copies the logic from
2-
# common.conf in the configuration repository
2+
# default.conf and common.conf in the configuration repository
3+
4+
if [ -z "$CVMFS_PAC_URLS" ] || [ "$CVMFS_PAC_URLS" = "http://wpad/wpad.dat" ]; then
5+
if [ "$(($$ % 2))" -eq 1 ]; then
6+
CVMFS_PAC_URLS="http://grid-wpad/wpad.dat;http://wpad/wpad.dat;http://cernvm-wpad.fnal.gov/wpad.dat;http://cernvm-wpad.cern.ch/wpad.dat"
7+
else
8+
CVMFS_PAC_URLS="http://grid-wpad/wpad.dat;http://wpad/wpad.dat;http://cernvm-wpad.cern.ch/wpad.dat;http://cernvm-wpad.fnal.gov/wpad.dat"
9+
fi
10+
fi
311

412
if [ "$CVMFS_CLIENT_PROFILE" = "single" ]; then
513
if [ "$CVMFS_HTTP_PROXY" = "" ]; then

rpm/cvmfs-config-osg.spec

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,9 @@ make install-redhat DESTDIR=$RPM_BUILD_ROOT
4242
%changelog
4343
* Mon Oct 12 2020 Dave Dykstra <[email protected]> - 2.5-1
4444
- Update the configuration for the config repo to apply all the logic
45-
from the config repo's common.conf. That is, support USE_CVMFS_CDN
46-
and CVMFS_CLIENT_PROFILE.
45+
from the config repo's default.conf and common.conf. That is, support
46+
USE_CVMFS_CDN and CVMFS_CLIENT_PROFILE and set default CVMFS_PAC_URLS
47+
covering the WLCG Web Proxy Auto Discovery.
4748
- Reverse the order of the fallback proxies because of the bug in
4849
https://sft.its.cern.ch/jira/browse/CVM-1920
4950

0 commit comments

Comments
 (0)