Puppet Class: postgresql::lib::docs

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

Summary

Installs PostgreSQL bindings for Postgres-Docs. Set the following parameters if you have a custom version you would like to install.

Overview

Note:

Make sure to add any necessary yum or apt repositories if specifying a custom version.

Parameters:

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

    Specifies the name of the PostgreSQL docs package.

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

    Whether the PostgreSQL docs package resource should be present.



13
14
15
16
17
18
19
20
21
22
# File 'manifests/lib/docs.pp', line 13

class postgresql::lib::docs (
  String $package_name = $postgresql::params::docs_package_name,
  Variant[Enum['present', 'absent', 'purged', 'disabled', 'installed', 'latest'], String[1]] $package_ensure = 'present',
) inherits postgresql::params {
  package { 'postgresql-docs':
    ensure => $package_ensure,
    name   => $package_name,
    tag    => 'puppetlabs-postgresql',
  }
}