Skip to content

Commit fa2994c

Browse files
committed
Merge branch 'testing'
2 parents 2969d04 + 1267dbe commit fa2994c

File tree

5 files changed

+11
-8
lines changed

5 files changed

+11
-8
lines changed

manifests/xrootd.pp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@
4545
}
4646
file { '/opt/xrootd/config':
4747
ensure => directory,
48+
owner => '100',
49+
group => '101',
4850
}
4951
file { '/opt/xrootd/admin':
5052
ensure => directory,

templates/forgejo/app.ini.erb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ EMAIL_DOMAIN_ALLOWLIST = <%= @email_domain_whitelist %>
5252
ALLOW_ONLY_EXTERNAL_REGISTRATION = true
5353
SHOW_REGISTRATION_BUTTON = false
5454
ENABLE_NOTIFY_MAIL = true
55+
AUTO_WATCH_NEW_REPOS = false
5556

5657
[CORS]
5758
ALLOW_DOMAIN = sunet.se

templates/xrootd/docker-compose.erb.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ services:
33
image: <%= @container_image %>:<%= @container_tag %>
44
dns:
55
- 89.32.32.32
6-
hostname: <%= @hostname.split('.')[0] %>
6+
hostname: <%= @hostname %>
77
network_mode: host
88
extra_hosts:
99
<%- @cms_allow_hosts.each do |extra_host| -%>
@@ -26,7 +26,7 @@ services:
2626
image: <%= @container_image %>:<%= @container_tag %>
2727
dns:
2828
- 89.32.32.32
29-
hostname: <%= @hostname.split('.')[0] %>
29+
hostname: <%= @hostname %>
3030
network_mode: host
3131
extra_hosts:
3232
<%- @cms_allow_hosts.each do |extra_host| -%>

templates/xrootd/xrootd-manager.cfg.erb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Enable the HTTP protocol on port <%= @port %> (1094 is the default XRootD port)
2-
xrd.protocol http:<%= @xrootd_port %> libXrdHttp.so
32
if exec cmsd
43
xrd.port <%= @cms_port %>
54
fi
65
if exec xrootd
7-
xrd.port <%= @xrootd_port %>
6+
xrd.protocol http:<%= @xrootd_port %> libXrdHttp.so
7+
xrd.port <%= @xrootd_port %>
88
fi
99

1010
# Upon last testing, the plugin did not yet work in async mode
@@ -17,7 +17,7 @@ all.export <%= @export %>
1717
# Set the role to either proxy manager or proxy server
1818
all.adminpath <%= @xrootd_admin_path %>
1919
all.pidpath <%= @xrootd_admin_path %>
20-
all.manager all <%= @manager_domain %>+ <%= @xrootd_port %>
20+
all.manager all <%= @manager_domain %>+ <%= @cms_port %>
2121
all.role manager
2222

2323
# Tell the cmsd which machines are allowed to connects

templates/xrootd/xrootd-server.cfg.erb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Enable the HTTP protocol on port <%= @port %> (1094 is the default XRootD port)
2-
xrd.protocol http:<%= @xrootd_port %> libXrdHttp.so
32
if exec cmsd
43
xrd.port <%= @cms_port %>
54
fi
65
if exec xrootd
7-
xrd.port <%= @xrootd_port %>
6+
xrd.protocol http:<%= @xrootd_port %> libXrdHttp.so
7+
xrd.port <%= @xrootd_port %>
88
fi
99

1010
# Upon last testing, the plugin did not yet work in async mode
@@ -17,7 +17,7 @@ all.export <%= @export %>
1717
# Set the role to either proxy manager or proxy server
1818
all.adminpath <%= @xrootd_admin_path %>
1919
all.pidpath <%= @xrootd_admin_path %>
20-
all.manager all <%= @manager_domain %>+ <%= @xrootd_port %>
20+
all.manager all <%= @manager_domain %>+ <%= @cms_port %>
2121
all.role server
2222

2323
# Tell the cmsd which machines are allowed to connects

0 commit comments

Comments
 (0)