228e5c5337
Thanks to some tricks I learned from Nan Liu and Dan Bode, I was able to figure out a way to move all of the new version-related stuff back into the params class, and clean up some of the if/_real stuff. Basic tests for centos6 + pg 9.2 are passing.
25 lines
554 B
Puppet
25 lines
554 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 = $postgresql::params::devel_package_name,
|
|
$package_ensure = 'present'
|
|
) inherits postgresql::params {
|
|
|
|
package { 'postgresql-devel':
|
|
ensure => $package_ensure,
|
|
name => $package_name,
|
|
tag => 'postgresql',
|
|
}
|
|
}
|