From 98acbc44f858b340be1ac344a4f3a3b9011dc763 Mon Sep 17 00:00:00 2001 From: Ewoud Kohl van Wijngaarden Date: Mon, 25 Sep 2023 18:29:53 +0200 Subject: [PATCH] Fix postgresql service name in test expectations The puppetlabs/postgresql module has been refactored for multi-instance support. This means the internal implementation detail was changed. --- spec/classes/foreman_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/classes/foreman_spec.rb b/spec/classes/foreman_spec.rb index c927c2186..e9f4925a0 100644 --- a/spec/classes/foreman_spec.rb +++ b/spec/classes/foreman_spec.rb @@ -138,7 +138,7 @@ .with_queues(['dynflow_orchestrator']) } it { - is_expected.to contain_service('postgresqld') + is_expected.to contain_service('postgresqld_instance_main') .that_notifies('Service[dynflow-sidekiq@orchestrator]') } it { should contain_foreman__dynflow__worker('worker').with_ensure('absent') }