Added interface parameter for auth

I want to be able to use the internal API endpoints from Puppet.  This is done
by setting $OS_INTERFACE to internal for use with the openstack CLI. This
change will do this by also reading OS_INTERFACE from the environment or
/root/openrc.

Change-Id: Id826836ccfe8f61780a6201ef2851068d75391ab
This commit is contained in:
Arnoud de Jonge 2016-11-02 13:44:14 +01:00
parent 525d77195e
commit 3670d9255e
1 changed files with 2 additions and 1 deletions

View File

@ -7,7 +7,8 @@ class Puppet::Provider::Openstack::Credentials
:auth_url, :password, :project_name, :username,
:token, :url,
:identity_api_version,
:region_name
:region_name,
:interface
]
KEYS.each { |var| attr_accessor var }