cloudstack/packaging/centos7
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
..
tomcat7 CLOUDSTACK-9062: Improve S3 implementation. 2015-11-19 15:29:10 +01:00
cloud-agent.rc CLOUDSTACK-7951: Limit amount of memory used by cloudstack-agent jsvc 2015-03-11 16:45:05 +05:30
cloud-ipallocator.rc CLOUDSTACK-8815 : Issues with cloudstack-management init script 2015-09-28 17:31:07 +05:30
cloud-management.service systemvm: set default umask 022 in injectkeys.sh 2016-03-14 12:21:57 +01:00
cloud-management.sysconfig CLOUDSTACK-9010: adjust packaging for centos7 2015-10-31 08:47:15 +01:00
cloud.limits packaging: add license to missing cloud.limits 2014-11-28 16:10:37 +05:30
cloud.spec CLOUDSTACK-9467: Add symlink to key file for usage server 2016-08-23 17:20:41 +05:30
cloudstack-agent.te Add improved support for packaging CloudStack for CentOS 7 2014-11-24 18:14:26 +01:00
cloudstack-sccs Add improved support for packaging CloudStack for CentOS 7 2014-11-24 18:14:26 +01:00
replace.properties CLOUDSTACK-8433: remove awsapi rpm and debian packaging 2015-05-06 15:22:04 +02:00