Skip to content

Commit

Permalink
add rh_cloud acceptance test
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Jan 23, 2025
1 parent dbfdc94 commit edd2d23
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions spec/acceptance/foreman_rh_cloud_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
require 'spec_helper_acceptance'

describe 'Scenario: install foreman with rh_cloud', if: os[:family] == 'redhat' do
before(:context) { purge_foreman }

it_behaves_like 'an idempotent resource' do
let(:manifest) do
<<-PUPPET
yumrepo { 'katello':
baseurl => "http://yum.theforeman.org/katello/nightly/katello/el${facts['os']['release']['major']}/x86_64/",
gpgcheck => 0,
}
include foreman
include foreman::plugin::rh_cloud
PUPPET
end
end

it_behaves_like 'the foreman application'
end

0 comments on commit edd2d23

Please sign in to comment.