Update the postgresql cookbook
This commit is contained in:
@@ -19,4 +19,4 @@ chef_version '>= 12.14' if respond_to?(:chef_version)
|
||||
#
|
||||
# source_url 'https://github.com/<insert_org_here>/kosmos-postgresql'
|
||||
|
||||
depends "postgresql", "= 6.1.1"
|
||||
depends "postgresql", ">= 7.0.0"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user