mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +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 {
|
class zulip::postgresql_client {
|
||||||
include zulip::postgresql_common
|
$version = zulipconf('postgresql', 'version', undef)
|
||||||
package { "postgresql-client-${zulip::postgresql_common::version}":
|
if $version != undef {
|
||||||
ensure => installed,
|
package { "postgresql-client-${version}":
|
||||||
|
ensure => installed,
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
package { 'postgresql-client':
|
||||||
|
ensure => installed,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user