mirror of https://github.com/apache/cloudstack.git
packaging: Minor message update (#4333)
adding quotes, to fix the "servers" to "server's"
This commit is contained in:
parent
90e72b1e40
commit
238eccc317
|
|
@ -24,7 +24,7 @@ case "$1" in
|
||||||
|
|
||||||
# Linking usage server db.properties to management server db.properties
|
# Linking usage server db.properties to management server db.properties
|
||||||
if [ -f "/etc/cloudstack/management/db.properties" ]; then
|
if [ -f "/etc/cloudstack/management/db.properties" ]; then
|
||||||
echo Replacing usage server's db.properties with a link to the management server's db.properties
|
echo "Replacing usage server's db.properties with a link to the management server's db.properties"
|
||||||
rm -f /etc/cloudstack/usage/db.properties
|
rm -f /etc/cloudstack/usage/db.properties
|
||||||
ln -s /etc/cloudstack/management/db.properties /etc/cloudstack/usage/db.properties
|
ln -s /etc/cloudstack/management/db.properties /etc/cloudstack/usage/db.properties
|
||||||
fi
|
fi
|
||||||
|
|
@ -36,7 +36,7 @@ case "$1" in
|
||||||
|
|
||||||
# Replacing key with management server key
|
# Replacing key with management server key
|
||||||
if [ -f "/etc/cloudstack/management/key" ]; then
|
if [ -f "/etc/cloudstack/management/key" ]; then
|
||||||
echo Replacing usage server's key with a link to the management server's key
|
echo "Replacing usage server's key with a link to the management server's key"
|
||||||
rm -f /etc/cloudstack/usage/key
|
rm -f /etc/cloudstack/usage/key
|
||||||
ln -s /etc/cloudstack/management/key /etc/cloudstack/usage/key
|
ln -s /etc/cloudstack/management/key /etc/cloudstack/usage/key
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
|
|
@ -465,14 +465,14 @@ fi
|
||||||
|
|
||||||
%post usage
|
%post usage
|
||||||
if [ -f "%{_sysconfdir}/%{name}/management/db.properties" ]; then
|
if [ -f "%{_sysconfdir}/%{name}/management/db.properties" ]; then
|
||||||
echo Replacing usage server's db.properties with a link to the management server's db.properties
|
echo "Replacing usage server's db.properties with a link to the management server's db.properties"
|
||||||
rm -f %{_sysconfdir}/%{name}/usage/db.properties
|
rm -f %{_sysconfdir}/%{name}/usage/db.properties
|
||||||
ln -s %{_sysconfdir}/%{name}/management/db.properties %{_sysconfdir}/%{name}/usage/db.properties
|
ln -s %{_sysconfdir}/%{name}/management/db.properties %{_sysconfdir}/%{name}/usage/db.properties
|
||||||
/usr/bin/systemctl enable cloudstack-usage > /dev/null 2>&1 || true
|
/usr/bin/systemctl enable cloudstack-usage > /dev/null 2>&1 || true
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f "%{_sysconfdir}/%{name}/management/key" ]; then
|
if [ -f "%{_sysconfdir}/%{name}/management/key" ]; then
|
||||||
echo Replacing usage server's key with a link to the management server's key
|
echo "Replacing usage server's key with a link to the management server's key"
|
||||||
rm -f %{_sysconfdir}/%{name}/usage/key
|
rm -f %{_sysconfdir}/%{name}/usage/key
|
||||||
ln -s %{_sysconfdir}/%{name}/management/key %{_sysconfdir}/%{name}/usage/key
|
ln -s %{_sysconfdir}/%{name}/management/key %{_sysconfdir}/%{name}/usage/key
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
|
|
@ -462,14 +462,14 @@ fi
|
||||||
|
|
||||||
%post usage
|
%post usage
|
||||||
if [ -f "%{_sysconfdir}/%{name}/management/db.properties" ]; then
|
if [ -f "%{_sysconfdir}/%{name}/management/db.properties" ]; then
|
||||||
echo Replacing usage server's db.properties with a link to the management server's db.properties
|
echo "Replacing usage server's db.properties with a link to the management server's db.properties"
|
||||||
rm -f %{_sysconfdir}/%{name}/usage/db.properties
|
rm -f %{_sysconfdir}/%{name}/usage/db.properties
|
||||||
ln -s %{_sysconfdir}/%{name}/management/db.properties %{_sysconfdir}/%{name}/usage/db.properties
|
ln -s %{_sysconfdir}/%{name}/management/db.properties %{_sysconfdir}/%{name}/usage/db.properties
|
||||||
/usr/bin/systemctl enable cloudstack-usage > /dev/null 2>&1 || true
|
/usr/bin/systemctl enable cloudstack-usage > /dev/null 2>&1 || true
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f "%{_sysconfdir}/%{name}/management/key" ]; then
|
if [ -f "%{_sysconfdir}/%{name}/management/key" ]; then
|
||||||
echo Replacing usage server's key with a link to the management server's key
|
echo "Replacing usage server's key with a link to the management server's key"
|
||||||
rm -f %{_sysconfdir}/%{name}/usage/key
|
rm -f %{_sysconfdir}/%{name}/usage/key
|
||||||
ln -s %{_sysconfdir}/%{name}/management/key %{_sysconfdir}/%{name}/usage/key
|
ln -s %{_sysconfdir}/%{name}/management/key %{_sysconfdir}/%{name}/usage/key
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue