2012-06-08 22:37:21 +02:00
|
|
|
# Class: postgresql
|
|
|
|
#
|
|
|
|
# This class installs postgresql client software.
|
|
|
|
#
|
2012-11-29 18:43:57 +01:00
|
|
|
# *Note* don't forget to make sure to add any necessary yum or apt
|
|
|
|
# repositories if specifying a custom version.
|
2012-06-08 22:37:21 +02:00
|
|
|
#
|
2012-11-29 18:43:57 +01:00
|
|
|
# Parameters:
|
|
|
|
# [*version*] - The postgresql version to install.
|
2012-06-08 22:37:21 +02:00
|
|
|
# Actions:
|
|
|
|
#
|
|
|
|
# Requires:
|
|
|
|
#
|
|
|
|
# Sample Usage:
|
|
|
|
#
|
|
|
|
class postgresql (
|
2012-12-20 01:50:45 +01:00
|
|
|
$version = $::postgres_default_version,
|
2013-01-11 23:03:46 +01:00
|
|
|
$manage_package_repo = false,
|
|
|
|
$package_source = undef
|
2012-12-20 01:50:45 +01:00
|
|
|
) {
|
|
|
|
class { 'postgresql::params':
|
2013-01-11 23:03:46 +01:00
|
|
|
version => $version,
|
|
|
|
manage_package_repo => $manage_package_repo,
|
|
|
|
package_source => $package_source
|
2012-06-08 22:37:21 +02:00
|
|
|
}
|
|
|
|
}
|