Sha256: 08c54bd6ca162ec35550c9c79d6ddfde00ad64b7f0ab9b912a6958f1afc21300

Contents?: true

Size: 531 Bytes

Versions: 1

Compression:

Stored size: 531 Bytes

Contents

# encoding: utf-8

node[:rtn_rbenv] ||= {}

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

case os[:family]
when %r(debian|ubuntu)
  packages << 'autoconf'
  packages << 'bison'
  packages << 'build-essential'
  packages << 'libssl-dev'
  packages << 'libyaml-dev'
  packages << 'libreadline6-dev'
  packages << 'zlib1g-dev'
  packages << 'libncurses5-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.3 lib/itamae/plugin/recipe/rtn_rbenv/common.rb