diff --git a/hieradata/node/comcam-dc01.cp.lsst.org.yaml b/hieradata/node/comcam-dc01.cp.lsst.org.yaml index bae16910c8..6dd70a082b 100644 --- a/hieradata/node/comcam-dc01.cp.lsst.org.yaml +++ b/hieradata/node/comcam-dc01.cp.lsst.org.yaml @@ -102,3 +102,10 @@ nfs::client_mounts: share: "/ccs-data" server: "comcam-fp01.cp.lsst.org" atboot: true +nfs::client_enabled: true +nfs::nfs_v4_client: false +nfs::client_mounts: + /repo: + share: "/export/comcam/repo" + 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