## confdroid_postgresql::main::config.pp
# Module name: confdroid_postgresql
# Author: 12ww1160 (12ww1160@confdroid.com)
# @summary Class manages logic for the confdroid_postgresql module.
##############################################################################
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
    }
  }
}
