# Puppet Class: confdroid_postgresql::main::config

Inherits:
  confdroid_postgresql::params

Defined in:
  manifests/main/config.pp

## Summary

Class manages logic for the confdroid_postgresql module.

## Overview

confdroid_postgresql::main::config.pp Module name: confdroid_postgresql Author: 12ww1160 (12ww1160@confdroid.com)

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

    class confdroid_postgresql::main::config (

    ) inherits confdroid_postgresql::params {
      require confdroid_postgresql::main::install

      if $fqdn == $pl_server_fqdn {
        include confdroid_postgresql::server::service
    #    if $pl_use_exporter == true {
    #      include confdroid_postgresql::exporter::service
    #    }
        if $pl_use_pg_bouncer == true {
          include confdroid_postgresql::bouncer::service
        }
      }
    }