mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
puppet: Do not include postgresql_common for all PostgreSQL clients.
It pulls in the server.
This commit is contained in:
committed by
Tim Abbott
parent
35c5231fe6
commit
80ef38757a
@@ -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,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user