Ensure auth_endpoint is reset

The auth_endpoint variable is loaded from glance-api.conf, thus it
should be cleared when configurations loaded by glance-api.conf is
cleared.

Change-Id: I77fddcb26589dd975043c2487e672c26013479fc
This commit is contained in:
Takashi Kajinami 2022-02-18 22:58:56 +09:00
parent ecf7d6620e
commit 14fdd891fe
1 changed files with 1 additions and 0 deletions

View File

@ -92,6 +92,7 @@ class Puppet::Provider::Glance < Puppet::Provider::Openstack
def self.reset
@glance_conf = nil
@glance_credentials = nil
@auth_endpoint = nil
end
# To keep backward compatibility