File tree Expand file tree Collapse file tree 4 files changed +43
-7
lines changed
Expand file tree Collapse file tree 4 files changed +43
-7
lines changed Original file line number Diff line number Diff line change @@ -8,4 +8,4 @@ CVMFS_KEYS_DIR=/etc/cvmfs/keys/opensciencegrid.org
88CVMFS_USE_GEOAPI=yes
99CVMFS_CONFIG_REPOSITORY=config-osg.opensciencegrid.org
1010CVMFS_CONFIG_REPO_REQUIRED=yes
11- CVMFS_FALLBACK_PROXY="http://cvmfsbproxy.cern.ch :3126;http://cvmfsbproxy.fnal.gov :3126"
11+ CVMFS_FALLBACK_PROXY="http://cvmfsbproxy.fnal.gov :3126;http://cvmfsbproxy.cern.ch :3126"
Original file line number Diff line number Diff line change 1- if [ "$CVMFS_HTTP_PROXY" = "DIRECT" ] || [ "$CVMFS_HTTP_PROXY" = "auto;DIRECT" ]; then
2- CVMFS_SERVER_URL="http://s1bnl-cvmfs.openhtc.io/cvmfs/@fqrn@;http://s1fnal-cvmfs.openhtc.io/cvmfs/@fqrn@;http://s1osggoc-cvmfs.openhtc.io/cvmfs/@fqrn@"
1+ # Other than setting the CVMFS_SERVER_URL, this file copies the logic from
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
11+
12+ if [ "$CVMFS_CLIENT_PROFILE" = "single" ]; then
13+ if [ "$CVMFS_HTTP_PROXY" = "" ]; then
14+ CVMFS_HTTP_PROXY="auto;DIRECT"
15+ fi
16+ fi
17+
18+ if [ -z "$CVMFS_USE_CDN" ]; then
19+ if [ "$CVMFS_HTTP_PROXY" = "DIRECT" ] || [ "$CVMFS_HTTP_PROXY" = "auto;DIRECT" ]; then
20+ CVMFS_USE_CDN=yes
21+ fi
22+ fi
23+
24+ if [ "$CVMFS_USE_CDN" = "yes" ] || [ "$CVMFS_CLIENT_PROFILE" = "custom" ]; then
325 CVMFS_FALLBACK_PROXY=""
26+ fi
27+
28+ ####
29+
30+ if [ "$CVMFS_USE_CDN" = "yes" ]; then
31+ CVMFS_SERVER_URL="http://s1bnl-cvmfs.openhtc.io/cvmfs/@fqrn@;http://s1fnal-cvmfs.openhtc.io/cvmfs/@fqrn@;http://s1osggoc-cvmfs.openhtc.io/cvmfs/@fqrn@"
432else
533 CVMFS_SERVER_URL="http://cvmfs-s1bnl.opensciencegrid.org:8000/cvmfs/@fqrn@;http://cvmfs-s1fnal.opensciencegrid.org:8000/cvmfs/@fqrn@;http://cvmfs-s1goc.opensciencegrid.org:8000/cvmfs/@fqrn@"
634fi
Original file line number Diff line number Diff line change 11# created by obsupdate.sh, do not edit by hand
2- Debtransform-Tar : cvmfs-config-osg-2.4 .tar.gz
2+ Debtransform-Tar : cvmfs-config-osg-2.5 .tar.gz
33Format : 1.0
4- Version : 2.4.4
4+ Version : 2.5.1
55Binary : cvmfs-config-osg
66Source : cvmfs-config-osg
77Maintainer : Dave Dykstra <dwd@fnal.gov>
Original file line number Diff line number Diff line change 11Summary: CernVM File System OSG Configuration and Public Keys
22Name: cvmfs-config-osg
3- Version: 2.4
4- Release: 4 %{?dist }
3+ Version: 2.5
4+ Release: 1 %{?dist }
55# download with:
66# $ curl -L -o cvmfs-config-osg-%{version}.tar.gz \
77# https://github.com/opensciencegrid/cvmfs-config-osg/archive/v%{version}.tar.gz
@@ -40,6 +40,14 @@ make install-redhat DESTDIR=$RPM_BUILD_ROOT
4040%config %{_sysconfdir }/cvmfs/config.d/*
4141
4242%changelog
43+ * Mon Oct 12 2020 Dave Dykstra <dwd@fnal.gov> - 2.5-1
44+ - Update the configuration for the config repo to apply all the logic
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.
48+ - Reverse the order of the fallback proxies because of the bug in
49+ https://sft.its.cern.ch/jira/browse/CVM-1920
50+
4351* Fri Mar 27 2020 Dave Dykstra <dwd@fnal.gov> - 2.4-4
4452- Skipped release 2.4-2 and 2.4-3 to make consistent with cvmfs-config-egi.
4553- Change Conflicts: cvmfs-config-default to Obsoletes: to make it
You can’t perform that action at this time.
0 commit comments