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
8
8
CVMFS_USE_GEOAPI=yes
9
9
CVMFS_CONFIG_REPOSITORY=config-osg.opensciencegrid.org
10
10
CVMFS_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
3
25
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@"
4
32
else
5
33
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@"
6
34
fi
Original file line number Diff line number Diff line change 1
1
# 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
3
3
Format : 1.0
4
- Version : 2.4.4
4
+ Version : 2.5.1
5
5
Binary : cvmfs-config-osg
6
6
Source : cvmfs-config-osg
7
7
Maintainer : Dave Dykstra <
[email protected] >
Original file line number Diff line number Diff line change 1
1
Summary: CernVM File System OSG Configuration and Public Keys
2
2
Name: cvmfs-config-osg
3
- Version: 2.4
4
- Release: 4 %{?dist }
3
+ Version: 2.5
4
+ Release: 1 %{?dist }
5
5
# download with:
6
6
# $ curl -L -o cvmfs-config-osg-%{version}.tar.gz \
7
7
# https://github.com/opensciencegrid/cvmfs-config-osg/archive/v%{version}.tar.gz
@@ -40,6 +40,14 @@ make install-redhat DESTDIR=$RPM_BUILD_ROOT
40
40
%config %{_sysconfdir }/cvmfs/config.d/*
41
41
42
42
%changelog
43
+ *
Mon Oct 12 2020 Dave Dykstra <[email protected] > -
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
+
43
51
*
Fri Mar 27 2020 Dave Dykstra <[email protected] > -
2.4-4
44
52
- Skipped release 2.4-2 and 2.4-3 to make consistent with cvmfs-config-egi.
45
53
- Change Conflicts: cvmfs-config-default to Obsoletes: to make it
You can’t perform that action at this time.
0 commit comments