Skip to content

Commit

Permalink
(rpi role) add basic spec
Browse files Browse the repository at this point in the history
  • Loading branch information
jhoblitt committed Jul 28, 2022
1 parent a72df2c commit b86c875
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions spec/hosts/roles/rpi_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# frozen_string_literal: true

require 'spec_helper'

role = 'rpi'

describe "#{role} role" do
on_supported_os.each do |os, facts|
context "on #{os}" do
let(:facts) do
facts.merge(
fqdn: self.class.description,
)
end

let(:node_params) do
{
role: role,
site: site,
}
end

lsst_sites.each do |site|
# NOTE: that this role does not include profile::core::common
describe "#{role}.#{site}.lsst.org", :site do
let(:site) { site }

it { is_expected.to compile.with_all_deps }
end # host
end # lsst_sites
end # on os
end # on_supported_os
end # role

0 comments on commit b86c875

Please sign in to comment.