Ian Cordasco ef3e743113 Properly parse and quote arguments in upgrade script
This patch fixes the following:

1. Properly quote arguments to run_lock function
2. Properly parse out the playbook filename in run_lock

Specifically the upgrade steps where we were using

   "-e 'rabbitmq_upgrade=true' setup-infrastructure.yml"
   "/tmp/fix_container_interfaces.yml || true"

Were causing issues and this patch resolves them.

Closes-bug: 1479916
Change-Id: I809085d6da493f7f7d545547a0d984c0e7b1bf45
(cherry picked from commit 560fbbdb077c0f8d6f8bfa9b48e967ccef86664a)
2015-08-07 08:41:32 +00:00
..
2015-06-26 10:37:41 -04:00
2015-07-30 15:11:14 +01:00
2015-07-30 15:11:14 +01:00
2015-07-30 15:11:14 +01:00
2015-07-30 15:11:14 +01:00