cookbook-openstack-common/libraries
Roger Luethi d232f34b4c Extend openstack_command
This patch extends openstack_command to accept an array in addition to a
string as an argument.

This allows the use of openstack_command in cases where an argument
contains protected spaces.

Examples:

mistral execution-create my_workflow \
    '{"names": ["John", "Mistral", "Ivan", "Crystal"]}'

barbican secret list --name chef_test_secret --format value -c"Secret href"

Without this patch, all arguments have to be passed as a single string
which openstack_command splits on white space regardless of any
quotation marks. Therefore, the examples above will fail.

Change-Id: I0419a1526beb103839a3cf235eba6c41d9d946d5
Closes-Bug: #1723949
2017-10-20 12:26:29 +02:00
..
cli.rb Extend openstack_command 2017-10-20 12:26:29 +02:00
config_helpers.rb Style and lint fixes to support newer ChefDK 2016-07-01 18:16:19 -07:00
endpoints.rb Initial common Pike updates 2017-09-11 23:38:26 -07:00
matchers.rb Initial common Pike updates 2017-09-11 23:38:26 -07:00
network.rb Style and lint fixes to support newer ChefDK 2016-07-01 18:16:19 -07:00
parse.rb Initial common Pike updates 2017-09-11 23:38:26 -07:00
passwords.rb Replace deprecated get_secret 2015-06-23 09:00:31 -05:00
search.rb Style and lint fixes to support newer ChefDK 2016-07-01 18:16:19 -07:00
uri.rb Style and lint fixes to support newer ChefDK 2016-07-01 18:16:19 -07:00
wrappers.rb Cleanup minor rubocop offenses 2015-06-02 11:45:59 -05:00