08bf393ee4
This change introduces the capability to load clouds.yaml file in the base Puppet::Provider::Openstack::Auth module, so that each providers can look up credentials from clouds.yaml instead of rc file. When SRBAC is enforced, services require appropriate scope for each operation and this makes it difficult to use rc files which can store only one credential per file. Usage of clouds.yaml allows us to store multiple credentials in a single file and switch scopes according to the API request used. The new implementation loads the clouds.yaml file for admin user, which is created by puppet-keystoe. It also allows overriding the credential by a user-created clouds.file. We expect clouds.yaml file is created under /etc/openstack, which is the location openstackclient searches to look up clouds.yaml. To avoid unexpected conjunction with existing files, the files used by puppet are located in an independent 'puppet' directory at this moment. Change-Id: I7587f6e0c2486cbfaf2cbafeb64e9db56a817106 |
||
---|---|---|
.. | ||
facter | ||
puppet |