# Puppet Class: confdroid_postgresql::bouncer::service

Inherits:
  confdroid_postgresql::params

Defined in:
  manifests/bouncer/service.pp

## Summary

Class manages the pgbouncer service

## Overview

confdroid_postgresql::bouncer::service.pp Module name: confdroid_postgresql Author: 12ww1160 (12ww1160@confdroid.com)

    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    # File 'manifests/bouncer/service.pp', line 6

    class confdroid_postgresql::bouncer::service (

    ) inherits confdroid_postgresql::params {
      if ($fqdn == $pl_server_fqdn) and ($pl_use_pg_bouncer == true) {
        require confdroid_postgresql::bouncer::bouncer
        service { $pl_bouncer_service:
          ensure     => running,
          hasstatus  => true,
          hasrestart => true,
          enable     => true,
        }
      }
    }