From 80ef38757aae67fd71c5e5a288938cec9efbdcd9 Mon Sep 17 00:00:00 2001 From: Alex Vandiver Date: Tue, 26 Mar 2024 22:55:46 -0400 Subject: [PATCH] puppet: Do not include postgresql_common for all PostgreSQL clients. It pulls in the server. --- puppet/zulip/manifests/postgresql_client.pp | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) 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, + } } }