module-postgresql/manifests/init.pp
Etienne Pelletier a5d3de2dc4 Pulled repository stuff out of params.
Lint cleanup.
2012-12-02 20:49:47 -08:00

27 lines
527 B
Puppet

# Class: postgresql
#
# This class installs postgresql client software.
#
# Parameters:
# [*client_package_name*] - The name of the postgresql client package.
#
# Actions:
#
# Requires:
#
# Sample Usage:
#
class postgresql (
$package_name = $postgresql::params::client_package_name,
$package_ensure = 'present'
) inherits postgresql::params {
include postgresql::repo
package { 'postgresql_client':
ensure => $package_ensure,
name => $package_name,
require => Class['postgresql::repo'],
}
}