Skip to content
This repository has been archived by the owner on May 27, 2019. It is now read-only.

Commit

Permalink
Add extra deps for Ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaspiller committed Mar 6, 2012
1 parent 61b9748 commit c60cc8b
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,16 @@
package {
"build-essential":
ensure => present;
"libssl-dev":
ensure => present;
"libreadline6":
ensure => present;
"libreadline6-dev":
ensure => present;
"zlib1g":
ensure => present;
"zlib1g-dev":
ensure => present;
"curl":
ensure => present;
"rake":
Expand All @@ -19,7 +29,12 @@
require => [
Package["curl"],
Package["rake"],
Package["build-essential"]
Package["build-essential"],
Package["libssl-dev"],
Package["libreadline6"],
Package["libreadline6-dev"],
Package["zlib1g"],
Package["zlib1g-dev"]
],
path => ["/usr/sbin", "/usr/bin", "/sbin", "/bin"]
}
Expand All @@ -28,7 +43,8 @@
command => "/opt/ruby-build/bin/ruby-build $version /opt/ruby-$version",
creates => "/opt/ruby-$version",
path => ["/usr/sbin", "/usr/bin", "/sbin", "/bin"],
require => Exec["ruby-build-install"]
require => Exec["ruby-build-install"],
timeout => 0
}

exec { "alternatives-ruby-$version":
Expand Down

0 comments on commit c60cc8b

Please sign in to comment.