Skip to content

Commit

Permalink
(node/comcam-dc01.cp) add nfs mount and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dtapiacl committed Nov 8, 2024
1 parent 816255d commit d171ca9
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hieradata/node/comcam-dc01.cp.lsst.org.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,7 @@ nfs::client_mounts:
share: "/ccs-data"
server: "comcam-fp01.cp.lsst.org"
atboot: true
/repo:
share: "/export/comcam"
server: "nfs3.cp.lsst.org"
atboot: true
16 changes: 16 additions & 0 deletions spec/hosts/nodes/comcam-dc01.cp.lsst.org_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit d171ca9

Please sign in to comment.