Skip to content

Commit 84e5c46

Browse files
committed
fix foreman_rex_cockpit acceptance test
1. the family is called `redhat`, not `centos` 2. to apply a manifest, you need to define `manifest` not `pp`
1 parent 02f7e5e commit 84e5c46

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

spec/acceptance/foreman_rex_cockpit_spec.rb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
require 'spec_helper_acceptance'
22

3-
describe 'Scenario: install foreman with rex cockpit', if: os[:family] == 'centos' do
3+
describe 'Scenario: install foreman with rex cockpit', if: os[:family] == 'redhat' do
44
before(:context) { purge_foreman }
55

6-
76
it_behaves_like 'an idempotent resource' do
8-
let(:pp) do
7+
let(:manifest) do
98
<<-PUPPET
109
include foreman
1110
include foreman::plugin::remote_execution::cockpit

0 commit comments

Comments
 (0)