Skip to content

Commit 72c5a1c

Browse files
committed
Some comments about the cvmfs_http_proxies in the hosts file
1 parent efe3537 commit 72c5a1c

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

hosts.example

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ your-client-1
1818
your-client-2
1919

2020
[cvmfsclients:vars]
21+
# List of all http proxies that should be configured for the clients.
22+
# Remove or comment the line if you do not want to use a proxy; in this
23+
# case it will be set to "DIRECT" in the client configuration.
2124
cvmfs_http_proxies = ["your-proxy-1:3128", "your-proxy-2:3128"]
22-
23-
25+
# The following one-liner can be used to automatically add all the hosts
26+
# defined in the cvmfslocalproxies group to cvmfs_http_proxes,
27+
# using port number 3128.
28+
# cvmfs_http_proxies = "{{ groups.cvmfslocalproxies | map('regex_replace', '^(.*)$', '\\1:3128') | list }}"

0 commit comments

Comments
 (0)