From f701fc34b10aa8c1329ad53d63764c85c9df3839 Mon Sep 17 00:00:00 2001 From: msmost <42874630+msmost@users.noreply.github.com> Date: Wed, 30 Oct 2019 11:54:04 -0500 Subject: [PATCH] Fix issue: f5_profileclientssl partition control --- lib/puppet/provider/f5_profileclientssl/rest.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/puppet/provider/f5_profileclientssl/rest.rb b/lib/puppet/provider/f5_profileclientssl/rest.rb index 2722630..7dbd895 100644 --- a/lib/puppet/provider/f5_profileclientssl/rest.rb +++ b/lib/puppet/provider/f5_profileclientssl/rest.rb @@ -42,15 +42,15 @@ def self.prefetch(resources) end end - def create_message(basename, hash) + def create_message(basename, partition, hash) # Create the message by stripping :present. new_hash = hash.reject { |k, _| [:ensure, :provider, Puppet::Type.metaparams].flatten.include?(k) } new_hash[:name] = basename + new_hash[:partition]= partition return new_hash end - def message(object) # Allows us to pass in resources and get all the attributes out # in the form of a hash. @@ -69,7 +69,7 @@ def message(object) message = strip_nil_values(message) message = convert_underscores(message) - message = create_message(basename, message) + message = create_message(basename, partition, message) message = rename_keys(map, message) message = string_to_integer(message)