... that filters out OS_* environment variables from the existing copied ENV and then set the passed environment variables to ENV and yield to the openstack CLI call. This has been a problem for a very long this where if you source OS_* environment in your shell and try to run Puppet the openstack CLI calls executed by the Puppet modules will pick up these environment variables causing side effects such as `openstack token issue` commands failing to test password for keystone_user resources causing a `openstack uset set` command even though the password has not changed. Conflicts: spec/unit/provider/openstack_spec.rb Change-Id: Ic4f9d7f7e8faf5ba5caaade49f10789aa8dba864 Signed-off-by: Tobias Urdin <tobias.urdin@binero.com> (cherry picked from commit864f02dda6) (cherry picked from commit2e85937d75) (cherry picked from commit12557ed183)
7 lines
220 B
YAML
7 lines
220 B
YAML
---
|
|
fixes:
|
|
- |
|
|
The ``Puppet::Provider::Openstack.request`` now filters out all external
|
|
``OS_*`` environment variables to prevent collisions with environment
|
|
variables in the shell where Puppet is running.
|