Skip to content

Commit

Permalink
(role/niagara) add role test
Browse files Browse the repository at this point in the history
  • Loading branch information
dtapiacl committed Dec 18, 2024
1 parent 3b24d08 commit caa9bb0
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions spec/hosts/roles/niagara_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# frozen_string_literal: true

require 'spec_helper'

role = 'niagara'

describe "#{role} role" do
on_supported_os.each do |os, os_facts|
next unless os =~ %r{almalinux-9-x86_64}

context "on #{os}" do
lsst_sites.each do |site|
describe "#{role}.#{site}.lsst.org", :sitepp do
let(:node_params) do
{
role:,
site:,
}
end
let(:facts) { lsst_override_facts(os_facts) }

it { is_expected.to compile.with_all_deps }

include_examples('common', os_facts:, site:)
end # host
end # lsst_sites
end # on os
end # on_supported_os
end # role

0 comments on commit caa9bb0

Please sign in to comment.