Sha256: 1cbb4803dbf2fed98d8a7cfa7a8f0f5fb5f50e9595c48f6ef8fbc08f6c651359

Contents?: true

Size: 392 Bytes

Versions: 1

Compression:

Stored size: 392 Bytes

Contents

# encoding: utf-8

node[:rtn_rbenv] ||= {}

packages = []
packages << 'gcc'
packages << 'git'

case os[:family]
when %r(debian|ubuntu)
  packages << 'zlib1g-dev'
  packages << 'libssl-dev'
  packages << 'libreadline6-dev'
when %r(redhat|fedora)
  packages << 'zlib-devel'
  packages << 'openssl-devel'
  packages << 'readline-devel'
end

packages.each { |package_name| package package_name }

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
itamae-plugin-recipe-rtn_rbenv-0.0.2 lib/itamae/plugin/recipe/rtn_rbenv/common.rb