Better detect and configure murano-agent pre-installed on image
After I8d90d33dc0a1c36ac4524f8f3b82223c23829126 a bug has been
introduced in setting agent's config: it was only set if there was no
'muranoagent' binary in PATH. This patch fixes this behaviour.
The patch also improves murano-agent detection, by setting PATH to a
wider number of directories, when checking for murano-agent binary.
It also improves support of different pre-built
images by not restricting path to murano-agent binary to a specific path.
Contains a bunch of comments with clarifications.
Reviewed: https:/ /review. openstack. org/369070 /git.openstack. org/cgit/ openstack/ murano/ commit/ ?id=6a927bb9749 b282cfe60197b52 c98c6e302f912f
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit 6a927bb9749b282 cfe60197b52c98c 6e302f912f
Author: Kirill Zaitsev <email address hidden>
Date: Mon Sep 12 00:02:57 2016 +0300
Better detect and configure murano-agent pre-installed on image
After I8d90d33dc0a1c3 6ac4524f8f3b822 23c23829126 a bug has been
introduced in setting agent's config: it was only set if there was no
'muranoagent' binary in PATH. This patch fixes this behaviour.
The patch also improves murano-agent detection, by setting PATH to a
wider number of directories, when checking for murano-agent binary.
It also improves support of different pre-built
images by not restricting path to murano-agent binary to a specific path.
Contains a bunch of comments with clarifications.
Change-Id: Ie4c498b5546aab aab207040045276 5c62cb561a3
Closes-Bug: #1570962