diff options
author | Thomas Backlund <tmb@mageia.org> | 2016-03-03 21:44:56 +0200 |
---|---|---|
committer | Thomas Backlund <tmb@mageia.org> | 2016-03-03 21:44:56 +0200 |
commit | 2a29518ca8c120f78ea94ea24ada77d639b23f27 (patch) | |
tree | fa6fb0bfcf35894f1546b3cc96a0033d565c7ea8 /modules/postgresql | |
parent | 735624260d4b37cdcf4669f19e6d3d43e25a3801 (diff) | |
download | puppet-2a29518ca8c120f78ea94ea24ada77d639b23f27.tar puppet-2a29518ca8c120f78ea94ea24ada77d639b23f27.tar.gz puppet-2a29518ca8c120f78ea94ea24ada77d639b23f27.tar.bz2 puppet-2a29518ca8c120f78ea94ea24ada77d639b23f27.tar.xz puppet-2a29518ca8c120f78ea94ea24ada77d639b23f27.zip |
we use postgresql 9.4 on mga5
Diffstat (limited to 'modules/postgresql')
-rw-r--r-- | modules/postgresql/manifests/var.pp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/postgresql/manifests/var.pp b/modules/postgresql/manifests/var.pp index 094a83fd..4c8a5f54 100644 --- a/modules/postgresql/manifests/var.pp +++ b/modules/postgresql/manifests/var.pp @@ -1,6 +1,10 @@ class postgresql::var( $pgsql_data = '/var/lib/pgsql/data/', - $pg_version = '9.0' + if versioncmp($::lsbdistrelease, '5') < 0 { + $pg_version = '9.0' + } else { + $pg_version = '9.4' + } ) { $hba_file = "${pgsql_data}/pg_hba.conf" |