From 5758225e7e0981345332fbfd142297d078f95cb2 Mon Sep 17 00:00:00 2001 From: Evgeni Golov <evgeni@golov.de> Date: Thu, 23 Jan 2025 08:37:05 +0100 Subject: [PATCH] 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` --- spec/acceptance/foreman_rex_cockpit_spec.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/spec/acceptance/foreman_rex_cockpit_spec.rb b/spec/acceptance/foreman_rex_cockpit_spec.rb index 7e69c2610..c450a7549 100644 --- a/spec/acceptance/foreman_rex_cockpit_spec.rb +++ b/spec/acceptance/foreman_rex_cockpit_spec.rb @@ -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