# Puppet Class: confdroid_postgresql::exporter::dirs

Inherits:
  confdroid_postgresql::params

Defined in:
  manifests/exporter/dirs.pp

## Summary

Class manages the postgresql exporter dirs

## Overview

confdroid_postgresql::exporter::dirs.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
    21

    # File 'manifests/exporter/dirs.pp', line 6

    class confdroid_postgresql::exporter::dirs (

    ) inherits confdroid_postgresql::params {
      if ($fqdn == $pl_server_fqdn) and ($pl_use_exporter == true) {
        file { $pl_install_dir:
          ensure   => directory,
          owner    => 'postgres',
          group    => 'postgres',
          mode     => '0755',
          selrange => s0,
          selrole  => object_r,
          seltype  => usr_t,
          seluser  => system_u,
        }
      }
    }