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
25
26
|
# File 'manifests/server/contrib.pp', line 7
class postgresql::server::contrib (
String $package_name = $postgresql::params::contrib_package_name,
String[1] $package_ensure = 'present'
) inherits postgresql::params {
if $facts['os']['family'] == 'Gentoo' {
fail('osfamily Gentoo does not have a separate "contrib" package, postgresql::server::contrib is not supported.')
}
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': }
}
|