puppet-standalone-mashup/shared/additional-modules/ruby/manifests/debian.pp
2012-05-14 09:15:05 -04:00

18 lines
436 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
}
}