aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/utils/ruby.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-29 22:01:58 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-29 22:01:58 -0200
commit794e890b4d991be1b7cdf030b90f6bc34764b6b8 (patch)
tree3ce83fb1f0b8aa19a27cc3338f43255bd6ae1e08 /manifests/subsystems/utils/ruby.pp
parent551624d8e801f05cd68e0f9f39f05de2b5eb3ef4 (diff)
downloadpuppet-nodo-794e890b4d991be1b7cdf030b90f6bc34764b6b8.tar.gz
puppet-nodo-794e890b4d991be1b7cdf030b90f6bc34764b6b8.tar.bz2
Misc updates
Diffstat (limited to 'manifests/subsystems/utils/ruby.pp')
-rw-r--r--manifests/subsystems/utils/ruby.pp5
1 files changed, 4 insertions, 1 deletions
diff --git a/manifests/subsystems/utils/ruby.pp b/manifests/subsystems/utils/ruby.pp
index 0835632..8923ff0 100644
--- a/manifests/subsystems/utils/ruby.pp
+++ b/manifests/subsystems/utils/ruby.pp
@@ -2,7 +2,10 @@ class utils::ruby {
# Gem packages
package { 'capistrano':
ensure => installed,
- provider => gem,
+ provider => $::lsbdistcodename ? {
+ 'squeeze' => gem,
+ default => apt,
+ },
require => Package['rubygems'],
}