Puppet Class: postgresql::server::contrib
Summary
Install the contrib postgresql packaging.
Overview
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# File 'manifests/server/contrib.pp', line 7
class postgresql::server::contrib (
Optional[String[1]] $package_name = $postgresql::params::contrib_package_name,
Variant[Enum['present', 'absent', 'purged', 'disabled', 'installed', 'latest'], String[1]] $package_ensure = 'present',
) inherits postgresql::params {
if $package_name {
package { 'postgresql-contrib':
ensure => $package_ensure,
name => $package_name,
tag => 'puppetlabs-postgresql',
}
anchor { 'postgresql::server::contrib::start': }
-> Class['postgresql::server::install']
-> Package['postgresql-contrib']
-> Class['postgresql::server::service']
anchor { 'postgresql::server::contrib::end': }
}
}
|