# Puppet Class: postgresql_cd::main::install — Documentation by YARD 0.9.36

# Puppet Class: postgresql_cd::main::install

Inherits:
  postgresql_cd::params

Defined in:
  manifests/main/install.pp

## Summary

Class manages logic for the postgresql_cd module.

## Overview

postgresql_cd::main::install.pp Module name: postgresql_cd Author: Arne Teuke (arne_teuke@confdroid.com)

    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28

    # File 'manifests/main/install.pp', line 6

    class postgresql_cd::main::install (

    ) inherits postgresql_cd::params {
      if $fqdn == $pl_server_fqdn {
        package { $reqpackages_server:
          ensure => $pkg_ensure,
        }
        package { $reqpackages_client:
          ensure => $pkg_ensure,
        }
        if $pl_manage_extensions == true {
          package { $reqpackages_extensions:
            ensure => $pkg_ensure,
          }
        }
      }

      if $fqdn != $pl_server_fqdn {
        package { $reqpackages_client:
          ensure => $pkg_ensure,
        }
      }
    }