module-postgresql/manifests/devel.pp
2012-12-02 20:54:33 -08:00

30 lines
674 B
Puppet

# Class: postgresql::devel
#
# This class installs postgresql development libraries
#
# Parameters:
# [*package_name*] - The name of the postgresql development package.
# [*package_ensure*] - The ensure value of the package
#
# Actions:
#
# Requires:
#
# Sample Usage:
#
class postgresql::devel(
$package_name = undef,
$package_ensure = 'present'
) {
require postgresql
$package_name_real = $package_name ? { undef => $postgresql::packages::devel_package_name, default => $package_name }
Class['postgresql::repo'] -> Package['postgresql_devel']
package { 'postgresql_devel':
ensure => $package_ensure,
name => $package_name_real,
}
}