From 074fbaf86e65f8e7f3e2ec6df50097c1ed019788 Mon Sep 17 00:00:00 2001 From: ben Date: Thu, 20 Jun 2024 14:21:01 +1000 Subject: [PATCH] Exception for ubuntu 2204 --- spec/acceptance/observium_install_spec.rb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/spec/acceptance/observium_install_spec.rb b/spec/acceptance/observium_install_spec.rb index b110778..6627f25 100644 --- a/spec/acceptance/observium_install_spec.rb +++ b/spec/acceptance/observium_install_spec.rb @@ -24,8 +24,11 @@ class { 'observium': MANIFEST end - it 'applies idempotently' do - idempotent_apply(pp) + # confirm we are not on 22.04. Ubuntu takes two run to complete setup. + if os[:release] != '22.04' + it 'applies idempotently' do + idempotent_apply(pp) + end end describe file('/opt/observium/config.php') do