From 9af42ba2410c4de1f63aaa8efc1e07fe321a16c6 Mon Sep 17 00:00:00 2001 From: Ramesh Sencha Date: Thu, 27 Jul 2023 12:25:50 +0530 Subject: [PATCH] (CAT-1211) - Fixing regression of CAT-1241 --- .changelog.yml | 20 -------------------- metadata.json | 2 +- tasks/provision_service.rb | 1 + 3 files changed, 2 insertions(+), 21 deletions(-) delete mode 100644 .changelog.yml diff --git a/.changelog.yml b/.changelog.yml deleted file mode 100644 index 6fe8cdc..0000000 --- a/.changelog.yml +++ /dev/null @@ -1,20 +0,0 @@ ---- -file_name: CHANGELOG.md -excluded_labels: - - attention-needed -sections: - added: - - feature - - enhancement - - dependencies - changed: - - maintenance - - backwards-incompatible - fixed: - - bug - - bugfix - - documentation -skip_entries_without_label: false -show_unreleased: true -check_for_updates: true -logger: spinner diff --git a/metadata.json b/metadata.json index 8959c76..4f3f50d 100644 --- a/metadata.json +++ b/metadata.json @@ -1,6 +1,6 @@ { "name": "puppetlabs-provision", - "version": "2.1.0", + "version": "2.1.1", "author": "puppetlabs", "summary": "Provisions and tears down containers / vms / machines through tasks.", "license": "Apache-2.0", diff --git a/tasks/provision_service.rb b/tasks/provision_service.rb index bd5c099..adc8cbc 100755 --- a/tasks/provision_service.rb +++ b/tasks/provision_service.rb @@ -169,6 +169,7 @@ def self.run params = JSON.parse($stdin.read) params.transform_keys!(&:to_sym) action, node_name, platform, vars, retry_attempts, inventory_location = params.values_at(:action, :node_name, :platform, :vars, :retry_attempts, :inventory) + inventory_location = sanitise_inventory_location(params['inventory']) runner = new begin