cloudstack/packaging
Rohit Yadav 8cd44b1684 CLOUDSTACK-9467: Add symlink to key file for usage server
On fresh installation, the usage server fails to start if the `key` file does
not exist in its classpath. The issue is reproducible in environments where
the usage server is installed before cloudstack-setup-databases has been called.
Before the cloudstack db has been setup, the key file does not exist at its
default location and installation of usage-server fails to add a symlink to the
key file.

This fix adds a default symlink to `/etc/cloudstack/management/key` if a
symlink/file does not already exist in the /etc/cloudstack/usage directory.

On new installation, in the post-installation steps it checks if the symlink
or file exists, and adds a symlink if it does not exist. On existing
installations, if symlink or file exists then it will skip adding symlink.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2016-08-23 17:20:41 +05:30
..
centos7 CLOUDSTACK-9467: Add symlink to key file for usage server 2016-08-23 17:20:41 +05:30
centos63 CLOUDSTACK-9467: Add symlink to key file for usage server 2016-08-23 17:20:41 +05:30
debian CLOUDSTACK-9045: Corrected mount point for management server DEBIAN. 2015-11-08 20:38:47 +01:00
fedora20 CLOUDSTACK-9000: logrotate cloudstack-agent out and err logs 2015-10-28 17:17:03 +05:30
fedora21 CLOUDSTACK-9000: logrotate cloudstack-agent out and err logs 2015-10-28 17:17:03 +05:30
systemd Merge pull request #820 from wido/CLOUDSTACK-8840 2015-09-17 10:09:58 +02:00
package.sh CLOUDSTACK-9065: fix bug when creating packaging with noredist flag 2015-11-25 01:41:22 +01:00