Puppet Class: postgresql::server::plpython

Defined in:
manifests/server/plpython.pp

Summary

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

Overview

Parameters:

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

    Specifies whether the package is present.

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

    Specifies the name of the postgresql PL/Python package.



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

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

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