module-postgresql/manifests/devel.pp

33 lines
646 B
ObjectPascal
Raw Normal View History

# 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 = '',
$package_ensure = 'present'
2012-11-20 21:52:44 +01:00
) {
if ! $package_name {
include postgresql::platform
$package_name_real = $postgresql::platform::devel_package_name
}
else {
$package_name_real = $package_name
}
2012-11-20 21:52:44 +01:00
package { 'postgresql_devel':
ensure => $package_ensure,
2012-11-20 21:52:44 +01:00
name => $package_name_real,
}
}