The fix broke backward compatibility and used hardcoded
value.
Related-bug: #1603987
Related-bug: #1648882
This reverts commit 3f33bf09e3.
Change-Id: Ie3420116926bef518d68c3e3b381e5cff4c98b6f
On master node there is no /etc/fuel/plugins/<plugin name>
directory. This causes failures of a plugin shell tasks on master node
because before execution there is an attempt to set current directory to
it. In order to fix this we make a symlink:
/etc/fuel/plugins/<plugin name> ->
/var/www/nailgun/plugins/<plugin name>/deployment_scripts
Change-Id: Idbd2d94462b72a7f98967b379f504c245a6c7135
Closes-Bug: #1603987
Without no-op, empty uninstall hook will cause invalid 'if' statement
to be created. As a result, uninstallation of such a package fails.
Change-Id: Idb12870db05b311f6c18cf0eb7d14a200ced6983
This change tells rpmbuilder to not fail the build if arch specific
binaries are included as part of the plugin. This is helpful if a
plugin wants to include a binary and deploy it via puppet or some other
method that will just copy the file.
Change-Id: Ic3ca86671f0a107b47ab68a54938b6f4040c90b2
Closes-Bug: #1578852
Don't put any code to PREUN scripts if uninstall.sh
does not exist or is empty.
Closes-bug: #1574478
Change-Id: Ie7767e285b8086921a944da4bea9aa9749a0e323
When package is upgraded the following steps are perfored:
- Run the %pre section of the RPM being installed.
- Install the files that the RPM provides.
- Run the %post section of the RPM.
- Run the %preun of the old package.
- Delete any old files not overwritten by the newer version.
(This step deletes files that the new package does not require.)
- Run the %postun hook of the old package.
uninstall_hook should be executed only when package removing is
performed. Otherwise in case of upgrade plugin changes made in
post-install.sh can be removed by unistall.sh
Change-Id: Idba866be2556aacc9ac0abeff67afcf34f02d93b
Closes-Bug: #1564123
Details:
* move main files into the top of the tree;
* move examples into examples folder;
* support new structure in run_test.sh and setup.py.
Result:
* update gitignore files to support run_test.sh;
* compatibility with openstack-gates;
* compatibility with standard pip installation via git+https.
Closes-Bug: #1479785
Change-Id: I93b51b0797eaf619614cb2a493a2a68d0f547751