Skip to content

Commit 395c217

Browse files
committed
(spec/node/lsstcam-dc02.cp) add basic test file
1 parent 9fc08f5 commit 395c217

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# frozen_string_literal: true
2+
3+
require 'spec_helper'
4+
5+
describe 'lsstcam-dc02.cp.lsst.org', :sitepp do
6+
on_supported_os.each do |os, os_facts|
7+
next if os =~ %r{centos-7-x86_64}
8+
9+
context "on #{os}" do
10+
let(:facts) do
11+
override_facts(os_facts,
12+
fqdn: 'lsstcam-dc02.cp.lsst.org',
13+
is_virtual: false,
14+
virtual: 'physical',
15+
dmi: {
16+
'product' => {
17+
'name' => 'PowerEdge R6515',
18+
},
19+
})
20+
end
21+
let(:node_params) do
22+
{
23+
role: 'ccs-dc',
24+
cluster: 'lsstcam-ccs',
25+
site: 'cp',
26+
}
27+
end
28+
29+
it { is_expected.to compile.with_all_deps }
30+
31+
include_examples 'baremetal'
32+
33+
it { is_expected.not_to contain_service('image-handling') }
34+
end # on os
35+
end # on_supported_os
36+
end

0 commit comments

Comments
 (0)