Puppet Class: postgresql::redhat

Defined in:
manifests/redhat.pp

Overview

Define: postgresql::redhat



3
4
5
6
7
8
9
10
11
12
13
# File 'manifests/redhat.pp', line 3

class postgresql::redhat {

  exec { 'postgresql_initdb':
    command => $postgresql::real_initdbcommand,
    creates => $postgresql::real_config_file,
    path    => [ '/sbin', '/bin', '/usr/bin', '/usr/sbin' ],
    require => Package['postgresql'],
    before  => [ Service['postgresql'], File['postgresql.conf'] ],
  }

}