mirror of https://github.com/zulip/zulip.git
puppet: Do not include postgresql_common for all PostgreSQL clients.
It pulls in the server.
This commit is contained in:
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,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue