|
27 | 27 |
|
28 | 28 | it { is_expected.to compile.with_all_deps } |
29 | 29 |
|
| 30 | + it do |
| 31 | + is_expected.to contain_s3daemon__instance('cp-latiss').with( |
| 32 | + image: 'ghcr.io/lsst-dm/s3daemon:sha-57e1aa9', |
| 33 | + env: { |
| 34 | + 'S3_ENDPOINT_URL' => 'https://s3.cp.lsst.org', |
| 35 | + 'S3DAEMON_PORT' => 15_570, |
| 36 | + } |
| 37 | + ) |
| 38 | + end |
| 39 | + |
| 40 | + it do |
| 41 | + is_expected.to contain_s3daemon__instance('cp-latiss-s3nd').with( |
| 42 | + image: 'ghcr.io/lsst-dm/s3nd:sha-1a94702', |
| 43 | + env: { |
| 44 | + 'S3ND_ENDPOINT_URL' => 'https://s3.cp.lsst.org', |
| 45 | + 'S3ND_PORT' => 15_571, |
| 46 | + } |
| 47 | + ) |
| 48 | + end |
| 49 | + |
| 50 | + it do |
| 51 | + is_expected.to contain_s3daemon__instance('s3dfrgw-latiss').with( |
| 52 | + image: 'ghcr.io/lsst-dm/s3daemon:sha-57e1aa9', |
| 53 | + env: { |
| 54 | + 'S3_ENDPOINT_URL' => 'https://s3dfrgw.slac.stanford.edu', |
| 55 | + 'S3DAEMON_PORT' => 15_580, |
| 56 | + } |
| 57 | + ) |
| 58 | + end |
| 59 | + |
| 60 | + it do |
| 61 | + is_expected.to contain_s3daemon__instance('s3dfrgw-latiss-s3nd').with( |
| 62 | + image: 'ghcr.io/lsst-dm/s3nd:sha-1a94702', |
| 63 | + env: { |
| 64 | + 'S3ND_ENDPOINT_URL' => 'https://s3dfrgw.slac.stanford.edu', |
| 65 | + 'S3ND_PORT' => 15_581, |
| 66 | + } |
| 67 | + ) |
| 68 | + end |
| 69 | + |
30 | 70 | include_examples 'baremetal' |
31 | 71 | include_context 'with nm interface' |
32 | 72 | it { is_expected.to have_nm__connection_resource_count(2) } |
|
49 | 89 | it_behaves_like 'nm ethernet interface' |
50 | 90 | end |
51 | 91 |
|
52 | | - it do |
53 | | - is_expected.to contain_s3daemon__instance('cp-latiss').with( |
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 | | - } |
59 | | - ) |
60 | | - end |
61 | | - |
62 | | - it do |
63 | | - is_expected.to contain_s3daemon__instance('s3dfrgw-latiss').with( |
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 | | - } |
69 | | - ) |
70 | | - end |
71 | | - |
72 | 92 | it do |
73 | 93 | is_expected.to contain_nfs__client__mount('/data').with( |
74 | 94 | share: 'data', |
|
0 commit comments