Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Use correct packages for recent Ubuntu LTS releases #6

merged 2 commits into from

2 participants


I've got a little correction for the Ubuntu support in 7c22d65:

The referenced readline package was split up in current Ubuntu releases, so to get backwards compatibility I've added a switch for older Ubuntu releases.

tested with Ubuntu 10.04.3 LTS

@jfryman jfryman merged commit 30ed260 into from

Awesome. Thanks for the update!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 10 additions and 4 deletions.
  1. +10 −4 manifests/packages/ubuntu.pp
14 manifests/packages/ubuntu.pp
@@ -1,8 +1,14 @@
class rvm::packages::ubuntu {
- $package_list = ['build-essential', 'bash', 'gawk', 'sed', 'grep',
- 'gzip', 'bzip2', 'zlib1g-dev', 'libssl-dev',
- 'libreadline-gplv2-dev']
+ $package_list = $lsbdistcodename ? {
+ /hardy|intrepid|jaunty|karmic|lucid/ => ['build-essential',
+ 'bash', 'gawk', 'sed', 'grep', 'gzip', 'bzip2',
+ 'zlib1g-dev', 'libssl-dev', 'libreadline-dev'],
+ default => ['build-essential', 'bash', 'gawk', 'sed', 'grep',
+ 'gzip', 'bzip2', 'zlib1g-dev', 'libssl-dev',
+ 'libreadline-gplv2-dev']
+ }
# Virtualize Package list to prevent conflicts
@package { $package_list:
ensure => 'present',
Something went wrong with that request. Please try again.