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/368488 /git.openstack. org/cgit/ openstack/ murano/ commit/ ?id=ab4d479e9de 4fbcd9b6e598c68 d8c8c77daaa85f
Committed: https:/
Submitter: Jenkins
Branch: master
commit ab4d479e9de4fbc d9b6e598c68d8c8 c77daaa85f
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