fixes
This commit is contained in:
parent
6f540ca3a2
commit
df6bdfc9e2
@ -29,6 +29,7 @@ class nginx-debian($version, $max_pool_size = 20) {
|
|||||||
|
|
||||||
bash_rc_d { 'nginx':
|
bash_rc_d { 'nginx':
|
||||||
ensure => present,
|
ensure => present,
|
||||||
path => $base::local_path
|
path => $base::local_path,
|
||||||
|
require => Class['nginx']
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
class ruby-debian {
|
class ruby-debian($version) {
|
||||||
$packages = [
|
$packages = [
|
||||||
'libyaml-dev', 'libreadline-dev', 'libssl-dev', 'libffi-dev',
|
'libyaml-dev', 'libreadline-dev', 'libssl-dev', 'libffi-dev',
|
||||||
'libncurses5-dev', 'libcurl4-openssl-dev', 'zlib1g-dev',
|
'libncurses5-dev', 'libcurl4-openssl-dev', 'zlib1g-dev',
|
||||||
@ -7,6 +7,8 @@ class ruby-debian {
|
|||||||
|
|
||||||
package { $packages: ensure => installed }
|
package { $packages: ensure => installed }
|
||||||
|
|
||||||
|
class { ruby: version => $version, require => Package[$packages] }
|
||||||
|
|
||||||
bash_rc_d { 'ruby':
|
bash_rc_d { 'ruby':
|
||||||
ensure => present,
|
ensure => present,
|
||||||
path => $base::local_path
|
path => $base::local_path
|
||||||
|
@ -8,7 +8,7 @@ class ruby($version) {
|
|||||||
configure => "--disable-install-doc"
|
configure => "--disable-install-doc"
|
||||||
}
|
}
|
||||||
|
|
||||||
gem { 'bundler':
|
gem { [ 'bundler', 'penchant' ]:
|
||||||
require => Build_and_install[$name],
|
require => Build_and_install[$name],
|
||||||
path => $with_ruby_path,
|
path => $with_ruby_path,
|
||||||
ensure => present
|
ensure => present
|
||||||
|
Loading…
Reference in New Issue
Block a user