Created
October 5, 2014 20:33
-
-
Save pgibler/71b558315ab97c160b59 to your computer and use it in GitHub Desktop.
Install ruby at a patchlevel in puppet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ruby_version = '2.0.0' | |
$ruby_patchlevel = 'p451' | |
$full_ruby_version = "ruby-${ruby_version}-${ruby_patchlevel}" | |
class { 'rvm': } | |
# Make rvm install ruby at the version and patchlevel we want. | |
# Here, we install ruby-2.0.0-p451 | |
# Set RVM to use it by default | |
rvm_system_ruby { $full_ruby_version: | |
ensure => present, | |
default_use => true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment