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 15, 2024
1 parent 366df55 commit 4718f20
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
7 changes: 7 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,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
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

Check failure on line 89 in spec/hosts/nodes/comcam-dc01.cp.lsst.org_spec.rb

View workflow job for this annotation

GitHub Actions / rake_checks

comcam-dc01.cp.lsst.org on almalinux-9-x86_64 is expected to contain Nfs::Client::Mount[/net/ccs-data] with share => "/ccs-data", server => "comcam-fp01.cp.lsst.org" and atboot => true Failure/Error: is_expected.to contain_nfs__client__mount('/net/ccs-data').with( share: '/ccs-data', server: 'comcam-fp01.cp.lsst.org', atboot: true ) expected that the catalogue would contain Nfs::Client::Mount[/net/ccs-data]
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

Check failure on line 97 in spec/hosts/nodes/comcam-dc01.cp.lsst.org_spec.rb

View workflow job for this annotation

GitHub Actions / rake_checks

comcam-dc01.cp.lsst.org on almalinux-9-x86_64 is expected to contain Nfs::Client::Mount[/repo] with share => "/export/comcam", server => "nfs3.cp.lsst.org" and atboot => true Failure/Error: is_expected.to contain_nfs__client__mount('/repo').with( share: '/export/comcam', server: 'nfs3.cp.lsst.org', atboot: true ) expected that the catalogue would contain Nfs::Client::Mount[/repo] with share set to "/export/comcam" but it is set to "/export/comcam/repo"
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 4718f20

Please sign in to comment.