We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbfdc94 commit 8eebdc2Copy full SHA for 8eebdc2
spec/acceptance/foreman_rh_cloud_spec.rb
@@ -0,0 +1,25 @@
1
+require 'spec_helper_acceptance'
2
+
3
+describe 'Scenario: install foreman with rh_cloud', if: os[:family] == 'redhat' do
4
+ before(:context) { purge_foreman }
5
6
+ it_behaves_like 'an idempotent resource' do
7
+ let(:manifest) do
8
+ <<-PUPPET
9
+ yumrepo { 'katello':
10
+ baseurl => "http://yum.theforeman.org/katello/nightly/katello/el${facts['os']['release']['major']}/x86_64/",
11
+ gpgcheck => 0,
12
+ }
13
+ yumrepo { 'candlepin':
14
+ baseurl => "https://yum.theforeman.org/candlepin/4.4/el${facts['os']['release']['major']}/x86_64/",
15
16
17
18
+ include foreman
19
+ include foreman::plugin::rh_cloud
20
+ PUPPET
21
+ end
22
23
24
+ it_behaves_like 'the foreman application'
25
+end
0 commit comments