Install Ruby in the backup cookbook

Also switch to the 5.0 beta version, it works with modern Rubies
This commit is contained in:
Greg Karékinian
2019-01-24 19:23:09 +01:00
parent 8e01bf58ca
commit 8f95c220f5
3 changed files with 10 additions and 4 deletions

View File

@@ -23,8 +23,12 @@
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
build_essential 'backup gem'
package ["ruby", "ruby-dev"]
gem_package 'backup' do
version '4.4.0'
version '5.0.0.beta.2'
end
backup_data = Chef::EncryptedDataBagItem.load('credentials', 'backup')