e97c8338c9
Rebases to puppetlabs-postgresql commit id: 5d4a543a54df0c9c52a5c7c1f68e5ae51d862947 Older postgresql lacks capability to handle bindir path changes in postgres 9.0 and newer. Change-Id: If8265bcdd7144a44b97a9f2e7d72f8a4b263920a Partial-Bug: #1386118 Related blueprint merge-openstack-puppet-modules
20 lines
618 B
Puppet
20 lines
618 B
Puppet
# Install the contrib postgresql packaging. See README.md for more details.
|
|
class postgresql::server::contrib (
|
|
$package_name = $postgresql::params::contrib_package_name,
|
|
$package_ensure = 'present'
|
|
) inherits postgresql::params {
|
|
validate_string($package_name)
|
|
|
|
package { 'postgresql-contrib':
|
|
ensure => $package_ensure,
|
|
name => $package_name,
|
|
tag => 'postgresql',
|
|
}
|
|
|
|
anchor { 'postgresql::server::contrib::start': }->
|
|
Class['postgresql::server::install']->
|
|
Package['postgresql-contrib']->
|
|
Class['postgresql::server::service']->
|
|
anchor { 'postgresql::server::contrib::end': }
|
|
}
|