Skip to content

Commit

Permalink
- condition looks cleaner with a regex ;-)
Browse files Browse the repository at this point in the history
  • Loading branch information
bascht committed Feb 17, 2012
1 parent d4afca3 commit f137101
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/packages/ubuntu.pp
@@ -1,7 +1,7 @@
class rvm::packages::ubuntu {

$package_list = $lsbdistcodename ? {
'hardy', 'intrepid', 'jaunty', 'karmic', 'lucid' => ['build-essential',
/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',
Expand Down

0 comments on commit f137101

Please sign in to comment.