Puppet Class: postgresql::lib::perl

Inherits:
postgresql::params
Defined in:
manifests/lib/perl.pp

Summary

This class installs the perl libs for postgresql.

Overview

Parameters:

  • package_name (String) (defaults to: $postgresql::params::perl_package_name)

    Specifies the name of the PostgreSQL perl package to install.

  • package_ensure (String[1]) (defaults to: 'present')

    Ensure the perl libs for postgresql are installed.



8
9
10
11
12
13
14
15
16
17
# File 'manifests/lib/perl.pp', line 8

class postgresql::lib::perl (
  String $package_name      = $postgresql::params::perl_package_name,
  String[1] $package_ensure = 'present'
) inherits postgresql::params {
  package { 'perl-DBD-Pg':
    ensure => $package_ensure,
    name   => $package_name,
    tag    => 'puppetlabs-postgresql',
  }
}