aboutsummaryrefslogtreecommitdiffstats
path: root/modules/postgresql/manifests/var.pp
blob: bda15cf6245af26e82792829a03aa92c96ce5ecf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
class postgresql::var {

  $pgsql_data = '/var/lib/pgsql/data/'

  if versioncmp($::lsbdistrelease, '5') < 0 {
    $pg_version = '9.0'
  } else {
    $pg_version = '9.6'
  }

  $hba_file = "${pgsql_data}/pg_hba.conf"
}
# vim: sw=2