diff --git a/puppet/zulip/manifests/postgresql_client.pp b/puppet/zulip/manifests/postgresql_client.pp index ced7b4332c..a26ef64f6a 100644 --- a/puppet/zulip/manifests/postgresql_client.pp +++ b/puppet/zulip/manifests/postgresql_client.pp @@ -1,6 +1,12 @@ class zulip::postgresql_client { - include zulip::postgresql_common - package { "postgresql-client-${zulip::postgresql_common::version}": - ensure => installed, + $version = zulipconf('postgresql', 'version', undef) + if $version != undef { + package { "postgresql-client-${version}": + ensure => installed, + } + } else { + package { 'postgresql-client': + ensure => installed, + } } }