Update the postgresql cookbook

This commit is contained in:
Greg Karékinian
2019-02-27 12:40:15 +01:00
parent 85b7278ccc
commit d8a0ecec76
43 changed files with 1272 additions and 2638 deletions

View File

@@ -4,13 +4,14 @@
#
# Copyright:: 2019, Kosmos, All Rights Reserved.
node.override['postgresql']['enable_pgdg_apt'] = false
# See https://github.com/sous-chefs/postgresql/issues/480
node.override['postgresql']['pg_gem']['version'] = '0.21.0'
include_recipe "postgresql::server"
include_recipe "postgresql::ruby"
unless node.chef_environment == "development"
node.override['postgresql']['config_pgtune']['db_type'] = "web"
include_recipe "postgresql::config_pgtune"
postgresql_server_install "main" do
version "10"
setup_repo false
action :install
end
postgresql_client_install "main" do
version "10"
setup_repo false
action :install
end