From d33e10c2d157c392b1289215cb192b00d2e30c98 Mon Sep 17 00:00:00 2001 From: Shimon Shtein Date: Thu, 2 Apr 2020 12:30:19 +0300 Subject: [PATCH] Rename inventory_upload to rh_cloud --- manifests/plugin/inventory_upload.pp | 5 ----- manifests/plugin/rh_cloud.pp | 5 +++++ spec/classes/plugin/inventory_upload_spec.rb | 5 ----- spec/classes/plugin/rh_cloud_spec.rb | 5 +++++ 4 files changed, 10 insertions(+), 10 deletions(-) delete mode 100644 manifests/plugin/inventory_upload.pp create mode 100644 manifests/plugin/rh_cloud.pp delete mode 100644 spec/classes/plugin/inventory_upload_spec.rb create mode 100644 spec/classes/plugin/rh_cloud_spec.rb diff --git a/manifests/plugin/inventory_upload.pp b/manifests/plugin/inventory_upload.pp deleted file mode 100644 index ca9fbe1f6..000000000 --- a/manifests/plugin/inventory_upload.pp +++ /dev/null @@ -1,5 +0,0 @@ -# Installs inventory_upload plugin -class foreman::plugin::inventory_upload { - foreman::plugin {'inventory_upload': - } -} diff --git a/manifests/plugin/rh_cloud.pp b/manifests/plugin/rh_cloud.pp new file mode 100644 index 000000000..101a8e3cc --- /dev/null +++ b/manifests/plugin/rh_cloud.pp @@ -0,0 +1,5 @@ +# Installs rh_cloud plugin +class foreman::plugin::rh_cloud { + foreman::plugin {'rh_cloud': + } +} diff --git a/spec/classes/plugin/inventory_upload_spec.rb b/spec/classes/plugin/inventory_upload_spec.rb deleted file mode 100644 index e820d52b4..000000000 --- a/spec/classes/plugin/inventory_upload_spec.rb +++ /dev/null @@ -1,5 +0,0 @@ -require 'spec_helper' - -describe 'foreman::plugin::inventory_upload' do - include_examples 'basic foreman plugin tests', 'inventory_upload' -end diff --git a/spec/classes/plugin/rh_cloud_spec.rb b/spec/classes/plugin/rh_cloud_spec.rb new file mode 100644 index 000000000..d843536ba --- /dev/null +++ b/spec/classes/plugin/rh_cloud_spec.rb @@ -0,0 +1,5 @@ +require 'spec_helper' + +describe 'foreman::plugin::rh_cloud' do + include_examples 'basic foreman plugin tests', 'rh_cloud' +end