Merge branch 'postgres' of theta42/t42-common into master

This commit is contained in:
William Mantly 2019-05-28 04:23:47 +00:00 committed by Gitea
commit 170869979d
2 changed files with 10 additions and 1 deletions

View File

@ -4,7 +4,7 @@ maintainer_email 'you@example.com'
license 'All Rights Reserved'
description 'Installs/Configures t42-common'
long_description 'Installs/Configures t42-common'
version '0.1.2'
version '0.1.3'
chef_version '>= 13.0'
depends 'nodejs'

View File

@ -1,3 +1,12 @@
execute 'add key' do
command 'wget -qO - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -'
end
execute 'add repo' do
command 'echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main" >> /etc/apt/sources.list.d/pgdg.list'
end
apt_update 'update' do
end.run_action(:update) if platform_family?('debian')