From c17ab56d805fd66528e461579364d0f48d71a96a Mon Sep 17 00:00:00 2001 From: Nick Date: Thu, 19 Dec 2024 14:15:36 -0700 Subject: [PATCH 1/2] Update jq package to 'installed' from 'present' --- manifests/cli.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/cli.pp b/manifests/cli.pp index 586242fb..31d4ae8c 100644 --- a/manifests/cli.pp +++ b/manifests/cli.pp @@ -57,7 +57,7 @@ Optional[String[8]] $token = undef, Hash[String, Rundeck::Project] $projects = {}, ) { - ensure_resource('package', 'jq', { 'ensure' => 'present' }) + ensure_resource('package', 'jq', { 'ensure' => 'installed' }) if $notify_conn_check { Class['rundeck::service'] ~> Exec['Check rundeck cli connection'] From 9906fa1d36eaa083aba300b9d6fd6287efc74f75 Mon Sep 17 00:00:00 2001 From: Nick Date: Thu, 19 Dec 2024 14:16:19 -0700 Subject: [PATCH 2/2] Update jq package to 'installed' from 'present' --- spec/classes/cli_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/classes/cli_spec.rb b/spec/classes/cli_spec.rb index 15ef8101..ab4d154d 100644 --- a/spec/classes/cli_spec.rb +++ b/spec/classes/cli_spec.rb @@ -12,7 +12,7 @@ context 'with default parameters' do it { is_expected.to compile } - it { is_expected.to contain_package('jq').with(ensure: 'present') } + it { is_expected.to contain_package('jq').with(ensure: 'installed') } case facts[:os]['family'] when 'RedHat'