From 3ee600f2660582c4d2bcd9f03389fa35a2663121 Mon Sep 17 00:00:00 2001 From: Diego Tapia <64498901+dtapia-IT@users.noreply.github.com> Date: Thu, 7 Nov 2024 16:44:41 -0300 Subject: [PATCH] (node/comcam-dc01.cp) add nfs mount and tests --- hieradata/node/comcam-dc01.cp.lsst.org.yaml | 4 ++++ spec/hosts/nodes/comcam-dc01.cp.lsst.org_spec.rb | 16 ++++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/hieradata/node/comcam-dc01.cp.lsst.org.yaml b/hieradata/node/comcam-dc01.cp.lsst.org.yaml index bae16910c8..816b54efb9 100644 --- a/hieradata/node/comcam-dc01.cp.lsst.org.yaml +++ b/hieradata/node/comcam-dc01.cp.lsst.org.yaml @@ -102,3 +102,7 @@ nfs::client_mounts: share: "/ccs-data" server: "comcam-fp01.cp.lsst.org" atboot: true + /repo: + share: "comcam" + server: "nfs3.cp.lsst.org" + atboot: true diff --git a/spec/hosts/nodes/comcam-dc01.cp.lsst.org_spec.rb b/spec/hosts/nodes/comcam-dc01.cp.lsst.org_spec.rb index aba18dacb5..52952b1c98 100644 --- a/spec/hosts/nodes/comcam-dc01.cp.lsst.org_spec.rb +++ b/spec/hosts/nodes/comcam-dc01.cp.lsst.org_spec.rb @@ -85,6 +85,22 @@ it_behaves_like 'nm dhcp interface' it_behaves_like 'nm bridge interface' end + + it do + is_expected.to contain_nfs__client__mount('/net/ccs-data').with( + share: '/ccs-data', + server: 'comcam-fp01.cp.lsst.org', + atboot: true + ) + end + + it do + is_expected.to contain_nfs__client__mount('/repo').with( + share: '/export/comcam', + server: 'nfs3.cp.lsst.org', + atboot: true + ) + end end end # on os end # on_supported_os