Updated Branches: refs/heads/4.1 443534dc7 -> 391bc01a1
CLOUDSTACK-2440 Print a warning if the rpm can't determine the previous configuration for server.xml or tomcat.conf Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/391bc01a Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/391bc01a Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/391bc01a Branch: refs/heads/4.1 Commit: 391bc01a168d08580437212fe1f5c2acbfb69f23 Parents: 443534d Author: Hugo Trippaers <[email protected]> Authored: Tue May 14 11:03:13 2013 +0200 Committer: Hugo Trippaers <[email protected]> Committed: Tue May 14 12:02:45 2013 +0200 ---------------------------------------------------------------------- packaging/centos63/cloud.spec | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/391bc01a/packaging/centos63/cloud.spec ---------------------------------------------------------------------- diff --git a/packaging/centos63/cloud.spec b/packaging/centos63/cloud.spec index 66c7b90..c4203aa 100644 --- a/packaging/centos63/cloud.spec +++ b/packaging/centos63/cloud.spec @@ -398,6 +398,8 @@ if [ -L $oldserverxml ] ; then if [ -L $serverxml ]; then rm -f $serverxml; fi ln -s %{_sysconfdir}/%{name}/management/server-ssl.xml $serverxml fi +else + echo "Unable to determine ssl settings for server.xml, please run cloudstack-setup-management manually" fi tomcatconf=%{_sysconfdir}/%{name}/management/tomcat6.conf @@ -410,6 +412,8 @@ if [ -L $oldtomcatconf ] ; then if [ -L $tomcatconf ]; then rm -f $tomcatconf; fi ln -s %{_sysconfdir}/%{name}/management/tomcat6-ssl.conf $tomcatconf fi +else + echo "Unable to determine ssl settings for tomcat.conf, please run cloudstack-setup-management manually" fi %preun agent
