Please consider providing facts or functions in puppet-keystone
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
puppet-openstack |
New
|
Undecided
|
Unassigned |
Bug Description
We have a few cases where we need the ID of a user or tenant, or an endpoint URL, generally "stuff from Keystone" to generate a configuration file. The openstack-puppet classes sometimes have this need as well (e.g. https:/
It would be convenient if puppet-keystone would ship with functions (and possibly some facts) to have this information retrieved automatically during the puppet run. That avoids storing information that could be derived in hiera files, or writing custom one-off providers to retrieve this information.
It's understood that this wouldn't necessarily solve all issues within a single puppet run due to ordering issues. Functions are evaluated strictly before resources, so you couldn't retrieve the ID of an object puppet will create within the same run. That's acceptable for our purposes.
Can you share some specific use-cases, as well as your current workarounds, which would be enabled by this functionality?