fix postgres service name

in fedora postgresql is the service name and postgresql-server is
the package.[1]

os: Fedora release 23 (Twenty Three)
psql: psql (PostgreSQL) 9.4.5

i'm not entirely sure when this changed, but it's devstack is broken
in above environment.

[1]https://fedoraproject.org/wiki/PostgreSQL

Change-Id: Id940fed2a777ca469ce77402e1136251ba572359
This commit is contained in:
gordon chung 2016-02-18 15:50:01 -05:00
parent 4bcf6529d5
commit b9201ccbbf

View File

@ -102,7 +102,7 @@ EOF
elif is_fedora || is_suse; then elif is_fedora || is_suse; then
install_package postgresql-server install_package postgresql-server
if is_fedora; then if is_fedora; then
sudo systemctl enable postgresql-server sudo systemctl enable postgresql
fi fi
else else
exit_distro_not_supported "postgresql installation" exit_distro_not_supported "postgresql installation"