Commit Graph

4 Commits

Author SHA1 Message Date
Stan Lagun ef3b0d4f7d Option to configure pip source for murano-agent
With this small changes it becomes possible to instruct murano to
provision murano-agent of version other than latest, or from
custom git branch or from a http source.

Use cases:
* Use agent with custom modifications that are not available in
  PyPI version
* Development of new agent features - agent can be installed from
  the private git repo
* Environments without internet connectivity

Change-Id: Icbea95abf070ef35781474a54461cc34bb9927af
2018-01-17 02:39:01 +00:00
Kirill Zaitsev ab4d479e9d 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.

Change-Id: Ie4c498b5546aabaab2070400452765c62cb561a3
Closes-Bug: #1570962
2016-09-12 01:38:33 +03:00
Nikolay Starodubtsev 15df963544 Change incorrect murano-agent bin file location
During cloud-init related improvements murano-agent location was
specified for the pip-style installation. This leads to unability
to deploy the apps on the images with pre-installed murano-agent
without network. This commit create a symlink to the pre-installed agent
in place where pip usually installs packages.

Change-Id: I8d90d33dc0a1c36ac4524f8f3b82223c23829126
Closes-Bug: #1570962
2016-05-10 14:10:02 +03:00
Henar Muñoz Frutos e089f7989e Install murano-agent by cloud-init
Adding a murano-init script to install murano-agent by cloud init
in the LinuxMuranoInstance.

Change-Id: I080fe14a61b9af468ba1ae2e26dd85196a563449
Targets-blueprint: cloud-init-deployable-agent
2016-01-20 15:10:00 +00:00