Merge pull request #736 from Aselinux/patch-1
postgres server init script naming on amazon linux ami
This commit is contained in:
commit
1dd78063e7
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ class postgresql::params inherits postgresql::globals {
|
||||||
$plperl_package_name = pick($plperl_package_name, "postgresql${package_version}-plperl")
|
$plperl_package_name = pick($plperl_package_name, "postgresql${package_version}-plperl")
|
||||||
$plpython_package_name = pick($plpython_package_name, "postgresql${package_version}-plpython")
|
$plpython_package_name = pick($plpython_package_name, "postgresql${package_version}-plpython")
|
||||||
$service_name = $::operatingsystem ? {
|
$service_name = $::operatingsystem ? {
|
||||||
'Amazon' => pick($service_name, "postgresql${version}"),
|
'Amazon' => pick($service_name, "postgresql${version_parts[0]}${version_parts[1]}"),
|
||||||
default => pick($service_name, "postgresql-${version}"),
|
default => pick($service_name, "postgresql-${version}"),
|
||||||
}
|
}
|
||||||
$bindir = $::operatingsystem ? {
|
$bindir = $::operatingsystem ? {
|
||||||
|
|
Loading…
Reference in a new issue