Install the latest backup gem

It added a few dev dependencies, install them
This commit is contained in:
Greg Karékinian 2023-06-28 16:29:03 +02:00
parent 0564165e81
commit 88caae26e4

View File

@ -5,12 +5,13 @@
apt_package 'postgresql-client-12'
build_essential 'backup gem'
package ['libxml2-dev', 'libcurl4-gnutls-dev']
# Don't try to install packages on older Ubuntu, the repositories are 404
package ["ruby", "ruby-dev", "zlib1g-dev"] if node[:platform_version].to_f >= 16.04
gem_package 'backup' do
version '5.0.0.beta.2'
version '5.0.0.beta.3'
end
smtp_credentials = Chef::EncryptedDataBagItem.load('credentials', 'smtp')