Skip to content

Commit 65311ab

Browse files
authored
Merge pull request #1744 from lsst-it/IT-6155/rm-comcam-archiver.cp
(role/comcam-archiver) rm
2 parents 73a0751 + 397ed61 commit 65311ab

File tree

9 files changed

+2
-169
lines changed

9 files changed

+2
-169
lines changed

hieradata/node/comcam-archiver.cp.lsst.org.yaml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -78,16 +78,3 @@ nm::connections:
7878
method: "disabled"
7979
ipv6:
8080
method: "disabled"
81-
82-
nfs::client_enabled: true
83-
nfs::client_mounts:
84-
/data:
85-
share: "comcam"
86-
server: "nfs-comcam.cp.lsst.org"
87-
atboot: true
88-
89-
profile::core::k5login::k5login:
90-
"/home/saluser/.k5login":
91-
ensure: "present"
92-
principals:
93-
- "ccs-ipa/[email protected]"

hieradata/node/comcam-archiver.tu.lsst.org.yaml

Lines changed: 0 additions & 41 deletions
This file was deleted.

hieradata/role/comcam-archiver.yaml

Lines changed: 0 additions & 8 deletions
This file was deleted.

site/profile/data/common.yaml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -220,18 +220,6 @@ profile::archive::data::auxtel::files:
220220
owner: 1000 # XXX unreserved
221221
group: 983 # XXX unreserved
222222

223-
profile::archive::data::comcam::files:
224-
/data/repo/LSSTComCam:
225-
ensure: "directory"
226-
mode: "0777"
227-
owner: &saluser 73006
228-
group: *saluser
229-
/data/repo/LSSTComCam/u:
230-
ensure: "directory"
231-
mode: "1777"
232-
owner: &saluser 73006
233-
group: *saluser
234-
235223
profile::core::dtn::sysctls:
236224
net.core.rmem_max:
237225
value: 2147483647

site/profile/manifests/archive/data/comcam.pp

Lines changed: 0 additions & 13 deletions
This file was deleted.

spec/classes/archive/data/comcam_spec.rb

Lines changed: 0 additions & 17 deletions
This file was deleted.

spec/hosts/nodes/comcam-archiver.cp.lsst.org_spec.rb

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@
1919
end
2020
let(:node_params) do
2121
{
22-
role: 'nfsclient',
23-
cluster: 'comcam-archive',
22+
role: 'generic',
2423
site: 'cp',
2524
}
2625
end
@@ -53,16 +52,6 @@
5352
it_behaves_like 'nm dhcp interface'
5453
it_behaves_like 'nm ethernet interface'
5554
end
56-
57-
it { is_expected.to contain_class('nfs').with_client_enabled(true) }
58-
59-
it do
60-
is_expected.to contain_nfs__client__mount('/data').with(
61-
share: 'comcam',
62-
server: 'nfs-comcam.cp.lsst.org',
63-
atboot: true
64-
)
65-
end
6655
end
6756
end # on os
6857
end # on_supported_os

spec/hosts/nodes/comcam-archiver.tu.lsst.org_spec.rb

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -19,36 +19,14 @@
1919
end
2020
let(:node_params) do
2121
{
22-
role: 'comcam-archiver',
22+
role: 'generic',
2323
site: 'tu',
24-
cluster: 'comcam-archiver',
2524
}
2625
end
2726

2827
it { is_expected.to compile.with_all_deps }
2928

3029
include_examples 'baremetal'
31-
32-
it { is_expected.to contain_class('nfs::server').with_nfs_v4(true) }
33-
it { is_expected.to contain_nfs__server__export('/data/lsstdata') }
34-
it { is_expected.to contain_nfs__server__export('/data/repo') }
35-
it { is_expected.to contain_nfs__server__export('/data') }
36-
37-
it do
38-
is_expected.to contain_nfs__client__mount('/net/self/data/lsstdata').with(
39-
share: 'lsstdata',
40-
server: 'comcam-archiver.tu.lsst.org',
41-
atboot: true
42-
)
43-
end
44-
45-
it do
46-
is_expected.to contain_nfs__client__mount('/repo').with(
47-
share: 'repo',
48-
server: 'comcam-archiver.tu.lsst.org',
49-
atboot: true
50-
)
51-
end
5230
end # on os
5331
end # on_supported_os
5432
end # role

spec/hosts/roles/comcam_archiver_spec.rb

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)