Skip to content

Commit

Permalink
fix foreman_rex_cockpit acceptance test
Browse files Browse the repository at this point in the history
1. the family is called `redhat`, not `centos`
2. to apply a manifest, you need to define `manifest` not `pp`
  • Loading branch information
evgeni committed Jan 23, 2025
1 parent dbfdc94 commit 5758225
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions spec/acceptance/foreman_rex_cockpit_spec.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
require 'spec_helper_acceptance'

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


it_behaves_like 'an idempotent resource' do
let(:pp) do
let(:manifest) do
<<-PUPPET
include foreman
include foreman::plugin::remote_execution::cockpit
Expand Down

0 comments on commit 5758225

Please sign in to comment.