This patch is fixing the hook-docker-cmd.py module to support running
when Python3 is the default interpreter. Before this patch, the code was
relying on the "unicode" built-in type which is not present in Python3.
The six.text_type is being used instead.
Change-Id: If44b1ea7497544abbbf16fa75c61e62bcd982328
Closes-Bug: #1643578
This implements a new hook to run commands with docker directly.
It uses the same interface so that minimal changes will be needed
to the heat templates.
The hook scripts are copied from the heat-templates change
I699107c3df64723a945c5d5ac82ae3a48b76700e. This will be replaced with
a simple package installation when the heat-templates change has been
packaged.
Co-Authored: Flavio Percoco <fpercoco@redhat.com>
Co-Authored: Martin André <m.andre@redhat.com>
Co-Authored: Steve Baker <sbaker@redhat.com>
Change-Id: I1e4d6e5afe41827858d6340f6c4ad9e48158e7e5