puppet-standalone-mashup/shared/additional-modules/ruby-debian/manifests/init.pp

18 lines
435 B
ObjectPascal
Raw Normal View History

2012-05-01 17:31:36 +00:00
class ruby-debian($version) {
2012-02-12 23:42:29 +00:00
$packages = [
'libyaml-dev', 'libreadline-dev', 'libssl-dev', 'libffi-dev',
2012-02-28 20:07:55 +00:00
'libncurses5-dev', 'libcurl4-openssl-dev', 'zlib1g-dev',
2012-02-12 23:42:29 +00:00
'libxml2', 'libxml2-dev', 'libxslt1.1', 'libxslt1-dev'
]
package { $packages: ensure => installed }
2012-02-28 20:07:55 +00:00
2012-05-01 17:31:36 +00:00
class { ruby: version => $version, require => Package[$packages] }
2012-02-28 20:07:55 +00:00
bash_rc_d { 'ruby':
ensure => present,
2012-04-25 22:14:41 +00:00
path => $base::local_path
2012-02-28 20:07:55 +00:00
}
2012-02-12 23:42:29 +00:00
}