puppet-standalone-mashup/shared/additional-modules/ruby-debian/manifests/init.pp
John Bintz df6bdfc9e2 fixes
2012-05-01 13:31:36 -04:00

18 lines
435 B
Puppet

class ruby-debian($version) {
$packages = [
'libyaml-dev', 'libreadline-dev', 'libssl-dev', 'libffi-dev',
'libncurses5-dev', 'libcurl4-openssl-dev', 'zlib1g-dev',
'libxml2', 'libxml2-dev', 'libxslt1.1', 'libxslt1-dev'
]
package { $packages: ensure => installed }
class { ruby: version => $version, require => Package[$packages] }
bash_rc_d { 'ruby':
ensure => present,
path => $base::local_path
}
}