Skip to content

Commit 73a0751

Browse files
authored
Merge pull request #1761 from lsst-it/IT-5635/puppet-s3daemon-2.x.x
(common) Update dependency lsst/s3daemon to v2
2 parents 89943bc + bf29c20 commit 73a0751

15 files changed

+100
-75
lines changed

Puppetfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ mod 'lsst/pi', '1.0.0'
3434
mod 'lsst/powertop', '0.1.2'
3535
mod 'lsst/rke', '2.1.0'
3636
mod 'lsst/rke2', '2.0.0'
37-
mod 'lsst/s3daemon', '1.2.0'
37+
mod 'lsst/s3daemon', '2.0.0'
3838
mod 'lsst/smee', '2.4.0'
3939
mod 'puppet/alternatives', '6.0.0'
4040
mod 'puppet/archive', '7.1.0'
Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
---
22
s3daemon::instances:
33
cp-latiss:
4-
s3_endpoint_url: "https://s3.cp.lsst.org"
5-
port: 15570
64
image: "%{alias('s3daemon_default_image')}"
5+
env:
6+
S3_ENDPOINT_URL: "https://s3.cp.lsst.org"
7+
S3DAEMON_PORT: 15570
78
s3dfrgw-latiss:
8-
s3_endpoint_url: "https://s3dfrgw.slac.stanford.edu"
9-
port: 15580
109
image: "%{alias('s3daemon_default_image')}"
10+
env:
11+
S3_ENDPOINT_URL: "https://s3dfrgw.slac.stanford.edu"
12+
S3DAEMON_PORT: 15580

hieradata/site/cp/cluster/comcam-ccs.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,12 @@ profile::ccs::monitoring::mrtg: true
33

44
s3daemon::instances:
55
cp-comcam:
6-
s3_endpoint_url: "https://s3.cp.lsst.org"
7-
port: 15570
86
image: "%{alias('s3daemon_default_image')}"
7+
env:
8+
S3_ENDPOINT_URL: "https://s3.cp.lsst.org"
9+
S3DAEMON_PORT: 15570
910
sdfembs3-comcam:
10-
s3_endpoint_url: "https://sdfembs3.sdf.slac.stanford.edu"
11-
port: 15580
1211
image: "%{alias('s3daemon_default_image')}"
12+
env:
13+
S3_ENDPOINT_URL: "https://sdfembs3.sdf.slac.stanford.edu"
14+
S3DAEMON_PORT: 15580

hieradata/site/cp/cluster/lsstcam-ccs.yaml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,12 @@ profile::ccs::monitoring::mrtg: true
1515

1616
s3daemon::instances:
1717
cp-lsstcam:
18-
s3_endpoint_url: "https://s3.cp.lsst.org"
19-
port: 15570
2018
image: "%{alias('s3daemon_default_image')}"
19+
env:
20+
S3_ENDPOINT_URL: "https://s3.cp.lsst.org"
21+
S3DAEMON_PORT: 15570
2122
sdfembs3-lsstcam:
22-
s3_endpoint_url: "https://sdfembs3.sdf.slac.stanford.edu"
23-
port: 15580
24-
image: "%{alias('s3daemon_default_image')}"
25-
elqui-lsstcam: # XXX temporary for testing
26-
s3_endpoint_url: "https://s3.elqui.cp.lsst.org"
27-
port: 15590
2823
image: "%{alias('s3daemon_default_image')}"
24+
env:
25+
S3_ENDPOINT_URL: "https://sdfembs3.sdf.slac.stanford.edu"
26+
S3DAEMON_PORT: 15580

hieradata/site/ls/cluster/auxtel-ccs.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,12 @@ clustershell::groupmembers:
2121

2222
s3daemon::instances:
2323
ls-latiss:
24-
s3_endpoint_url: "https://s3.ls.lsst.org"
25-
port: 15570
2624
image: "%{alias('s3daemon_default_image')}"
25+
env:
26+
S3_ENDPOINT_URL: "https://s3.ls.lsst.org"
27+
S3DAEMON_PORT: 15570
2728
s3dfrgw-latiss:
28-
s3_endpoint_url: "https://s3dfrgw.slac.stanford.edu"
29-
port: 15580
3029
image: "%{alias('s3daemon_default_image')}"
30+
env:
31+
S3_ENDPOINT_URL: "https://s3dfrgw.slac.stanford.edu"
32+
S3DAEMON_PORT: 15580

hieradata/site/ls/cluster/lsstcam-ccs.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ ccs_monit::alert:
1515

1616
s3daemon::instances:
1717
ls-lsstcam:
18-
s3_endpoint_url: "https://s3.ls.lsst.org"
19-
port: 15570
2018
image: "%{alias('s3daemon_default_image')}"
19+
env:
20+
S3_ENDPOINT_URL: "https://s3.ls.lsst.org"
21+
S3DAEMON_PORT: 15570

hieradata/site/tu/cluster/auxtel-ccs.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,12 @@ postfix::relayhost: "[mail.lsst.org]:submission"
1515

1616
s3daemon::instances:
1717
tu-latiss:
18-
s3_endpoint_url: "https://s3.tu.lsst.org"
19-
port: 15570
2018
image: "%{alias('s3daemon_default_image')}"
19+
env:
20+
S3_ENDPOINT_URL: "https://s3.tu.lsst.org"
21+
S3DAEMON_PORT: 15570
2122
s3dfrgw-latiss:
22-
s3_endpoint_url: "https://s3dfrgw.slac.stanford.edu"
23-
port: 15580
2423
image: "%{alias('s3daemon_default_image')}"
24+
env:
25+
S3_ENDPOINT_URL: "https://s3dfrgw.slac.stanford.edu"
26+
S3DAEMON_PORT: 15580

hieradata/site/tu/cluster/comcam-ccs.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,12 @@ postfix::relayhost: "[mail.lsst.org]:submission"
1515

1616
s3daemon::instances:
1717
tu-comcam:
18-
s3_endpoint_url: "https://s3.tu.lsst.org"
19-
port: 15570
2018
image: "%{alias('s3daemon_default_image')}"
19+
env:
20+
S3_ENDPOINT_URL: "https://s3.tu.lsst.org"
21+
S3DAEMON_PORT: 15570
2122
s3dfrgw-comcam:
22-
s3_endpoint_url: "https://s3dfrgw.slac.stanford.edu"
23-
port: 15580
2423
image: "%{alias('s3daemon_default_image')}"
24+
env:
25+
S3_ENDPOINT_URL: "https://s3dfrgw.slac.stanford.edu"
26+
S3DAEMON_PORT: 15580

spec/hosts/nodes/auxtel-dc01.cp.lsst.org_spec.rb

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,17 +51,21 @@
5151

5252
it do
5353
is_expected.to contain_s3daemon__instance('cp-latiss').with(
54-
s3_endpoint_url: 'https://s3.cp.lsst.org',
55-
port: 15_570,
56-
image: 'ghcr.io/lsst-dm/s3daemon:sha-57e1aa9'
54+
image: 'ghcr.io/lsst-dm/s3daemon:sha-57e1aa9',
55+
env: {
56+
'S3_ENDPOINT_URL' => 'https://s3.cp.lsst.org',
57+
'S3DAEMON_PORT' => 15_570,
58+
}
5759
)
5860
end
5961

6062
it do
6163
is_expected.to contain_s3daemon__instance('s3dfrgw-latiss').with(
62-
s3_endpoint_url: 'https://s3dfrgw.slac.stanford.edu',
63-
port: 15_580,
64-
image: 'ghcr.io/lsst-dm/s3daemon:sha-57e1aa9'
64+
image: 'ghcr.io/lsst-dm/s3daemon:sha-57e1aa9',
65+
env: {
66+
'S3_ENDPOINT_URL' => 'https://s3dfrgw.slac.stanford.edu',
67+
'S3DAEMON_PORT' => 15_580,
68+
}
6569
)
6670
end
6771

spec/hosts/nodes/auxtel-dc01.ls.lsst.org_spec.rb

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,21 @@
3131

3232
it do
3333
is_expected.to contain_s3daemon__instance('ls-latiss').with(
34-
s3_endpoint_url: 'https://s3.ls.lsst.org',
35-
port: 15_570,
36-
image: 'ghcr.io/lsst-dm/s3daemon:sha-57e1aa9'
34+
image: 'ghcr.io/lsst-dm/s3daemon:sha-57e1aa9',
35+
env: {
36+
'S3_ENDPOINT_URL' => 'https://s3.ls.lsst.org',
37+
'S3DAEMON_PORT' => 15_570,
38+
}
3739
)
3840
end
3941

4042
it do
4143
is_expected.to contain_s3daemon__instance('s3dfrgw-latiss').with(
42-
s3_endpoint_url: 'https://s3dfrgw.slac.stanford.edu',
43-
port: 15_580,
44-
image: 'ghcr.io/lsst-dm/s3daemon:sha-57e1aa9'
44+
image: 'ghcr.io/lsst-dm/s3daemon:sha-57e1aa9',
45+
env: {
46+
'S3_ENDPOINT_URL' => 'https://s3dfrgw.slac.stanford.edu',
47+
'S3DAEMON_PORT' => 15_580,
48+
}
4549
)
4650
end
4751

0 commit comments

Comments
 (0)