This commit is contained in:
John Bintz 2012-05-01 13:31:36 -04:00
parent 6f540ca3a2
commit df6bdfc9e2
3 changed files with 6 additions and 3 deletions

View File

@ -29,6 +29,7 @@ class nginx-debian($version, $max_pool_size = 20) {
bash_rc_d { 'nginx':
ensure => present,
path => $base::local_path
path => $base::local_path,
require => Class['nginx']
}
}

View File

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

View File

@ -8,7 +8,7 @@ class ruby($version) {
configure => "--disable-install-doc"
}
gem { 'bundler':
gem { [ 'bundler', 'penchant' ]:
require => Build_and_install[$name],
path => $with_ruby_path,
ensure => present