puppet: Do not include postgresql_common for all PostgreSQL clients.

It pulls in the server.
This commit is contained in:
Alex Vandiver 2024-03-26 22:55:46 -04:00 committed by Tim Abbott
parent 35c5231fe6
commit 80ef38757a
1 changed files with 9 additions and 3 deletions

View File

@ -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,
}
}
}