Puppet Class: postgresql::server::plperl

Defined in:
manifests/server/plperl.pp

Summary

This class installs the PL/Perl procedural language for postgresql.

Overview

Parameters:

  • package_ensure (Variant[Enum['present', 'absent', 'purged', 'disabled', 'installed', 'latest'], String[1]]) (defaults to: 'present')

    The ensure parameter passed on to PostgreSQL PL/Perl package resource.

  • package_name (Optional[String[1]]) (defaults to: $postgresql::server::plperl_package_name)

    The name of the PostgreSQL PL/Perl package.



5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# File 'manifests/server/plperl.pp', line 5

class postgresql::server::plperl (
  Variant[Enum['present', 'absent', 'purged', 'disabled', 'installed', 'latest'], String[1]] $package_ensure = 'present',
  Optional[String[1]] $package_name = $postgresql::server::plperl_package_name,
) {
  package { 'postgresql-plperl':
    ensure => $package_ensure,
    name   => $package_name,
    tag    => 'puppetlabs-postgresql',
  }

  anchor { 'postgresql::server::plperl::start': }
  -> Class['postgresql::server::install']
  -> Package['postgresql-plperl']
  -> Class['postgresql::server::service']
  anchor { 'postgresql::server::plperl::end': }
}