diff options
author | Thomas Backlund <tmb@mageia.org> | 2016-03-03 22:30:51 +0200 |
---|---|---|
committer | Thomas Backlund <tmb@mageia.org> | 2016-03-03 22:30:51 +0200 |
commit | e8b8f29cf3bd44c924cd2c36dab372a6d65bbd4a (patch) | |
tree | 9c9c57362344db936dcb71dd0fe0e79577b35d73 /modules/postgresql/manifests | |
parent | 9e8707d805d9893a67f36554539ecf4c0f3d75a8 (diff) | |
download | puppet-e8b8f29cf3bd44c924cd2c36dab372a6d65bbd4a.tar puppet-e8b8f29cf3bd44c924cd2c36dab372a6d65bbd4a.tar.gz puppet-e8b8f29cf3bd44c924cd2c36dab372a6d65bbd4a.tar.bz2 puppet-e8b8f29cf3bd44c924cd2c36dab372a6d65bbd4a.tar.xz puppet-e8b8f29cf3bd44c924cd2c36dab372a6d65bbd4a.zip |
fix up pgsql var
Diffstat (limited to 'modules/postgresql/manifests')
-rw-r--r-- | modules/postgresql/manifests/var.pp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/modules/postgresql/manifests/var.pp b/modules/postgresql/manifests/var.pp index 4c8a5f54..39bbb02d 100644 --- a/modules/postgresql/manifests/var.pp +++ b/modules/postgresql/manifests/var.pp @@ -1,12 +1,13 @@ -class postgresql::var( - $pgsql_data = '/var/lib/pgsql/data/', +class postgresql::var { + + $pgsql_data = '/var/lib/pgsql/data/' + if versioncmp($::lsbdistrelease, '5') < 0 { $pg_version = '9.0' } else { $pg_version = '9.4' } -) -{ + $hba_file = "${pgsql_data}/pg_hba.conf" } # vim: sw=2 |