From 96a8323b200f47f51f328308bc4c95312e07e5b7 Mon Sep 17 00:00:00 2001 From: Martin Alfke Date: Tue, 6 Feb 2024 14:42:38 +0100 Subject: [PATCH 1/3] Add hiera data manager (HDM) plugin --- manifests/plugin/hdm.pp | 6 ++++++ spec/classes/plugin/hdm_spec.rb | 6 ++++++ 2 files changed, 12 insertions(+) create mode 100644 manifests/plugin/hdm.pp create mode 100644 spec/classes/plugin/hdm_spec.rb diff --git a/manifests/plugin/hdm.pp b/manifests/plugin/hdm.pp new file mode 100644 index 00000000..a356c308 --- /dev/null +++ b/manifests/plugin/hdm.pp @@ -0,0 +1,6 @@ +# @summary This class installs the Hiera Data Manager (HDM) plugin +# +class foreman::plugin::hdm { + foreman::plugin { 'hdm': + } +} diff --git a/spec/classes/plugin/hdm_spec.rb b/spec/classes/plugin/hdm_spec.rb new file mode 100644 index 00000000..239286b0 --- /dev/null +++ b/spec/classes/plugin/hdm_spec.rb @@ -0,0 +1,6 @@ +require 'spec_helper' + +describe 'foreman::plugin::hdm' do + include_examples 'basic foreman plugin tests', 'hdm' +end + From a8cfa719abffa554938543734516f1a9f29ff4a7 Mon Sep 17 00:00:00 2001 From: Martin Alfke Date: Sat, 10 Feb 2024 16:08:53 +0100 Subject: [PATCH 2/3] Update manifests/plugin/hdm.pp Co-authored-by: Ewoud Kohl van Wijngaarden --- manifests/plugin/hdm.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/plugin/hdm.pp b/manifests/plugin/hdm.pp index a356c308..eadb2057 100644 --- a/manifests/plugin/hdm.pp +++ b/manifests/plugin/hdm.pp @@ -1,4 +1,4 @@ -# @summary This class installs the Hiera Data Manager (HDM) plugin +# @summary Install the Hiera Data Manager (HDM) plugin # class foreman::plugin::hdm { foreman::plugin { 'hdm': From 326f2f2fd4876f7fc302dc0eecbe6c70eefc4abd Mon Sep 17 00:00:00 2001 From: Martin Alfke Date: Sat, 10 Feb 2024 16:09:02 +0100 Subject: [PATCH 3/3] Update spec/classes/plugin/hdm_spec.rb Co-authored-by: Ewoud Kohl van Wijngaarden --- spec/classes/plugin/hdm_spec.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/spec/classes/plugin/hdm_spec.rb b/spec/classes/plugin/hdm_spec.rb index 239286b0..c70ab348 100644 --- a/spec/classes/plugin/hdm_spec.rb +++ b/spec/classes/plugin/hdm_spec.rb @@ -3,4 +3,3 @@ describe 'foreman::plugin::hdm' do include_examples 'basic foreman plugin tests', 'hdm' end -