Sha256: 589fe92d1ea80132a6b34f8103e758112d905f78ebc649cbf0a21f04402341ac

Contents?: true

Size: 674 Bytes

Versions: 2

Compression:

Stored size: 674 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'
  packages << 'libffi-dev'
when %r(redhat|fedora)
  packages << 'gdbm-devel'
  packages << 'openssl-devel'
  packages << 'libyaml-devel'
  packages << 'readline-devel'
  packages << 'zlib-devel'
  packages << 'ncurses-devel'
  packages << 'libffi-devel'
end

packages.each { |package_name| package package_name }

Version data entries

2 entries across 2 versions & 1 rubygems

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