aboutsummaryrefslogtreecommitdiff
path: root/manifests/utils.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-03-16 16:50:53 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-03-16 16:50:53 -0300
commit1034a61bc6ffff4c337ce69a05c884e8ca97586c (patch)
tree52b30a9329a44a35bce66c9734d8d50924cf5f07 /manifests/utils.pp
parent1595aa8882b0af6cc0373cc8d4bff5b1102ed8b8 (diff)
downloadpuppet-nodo-1034a61bc6ffff4c337ce69a05c884e8ca97586c.tar.gz
puppet-nodo-1034a61bc6ffff4c337ce69a05c884e8ca97586c.tar.bz2
Adding capistrano gem package at utils::desktop
Diffstat (limited to 'manifests/utils.pp')
-rw-r--r--manifests/utils.pp10
1 files changed, 9 insertions, 1 deletions
diff --git a/manifests/utils.pp b/manifests/utils.pp
index 9e19d61..5cd31a3 100644
--- a/manifests/utils.pp
+++ b/manifests/utils.pp
@@ -46,6 +46,13 @@ class utils::desktop {
ensure => installed,
}
+ # Gem packages
+ package { 'capistrano':
+ ensure => installed,
+ provider => gem,
+ require => Package['rubygems'],
+ }
+
if !defined(Package['git-core']) {
package { 'git-core':
ensure => installed,
@@ -60,7 +67,8 @@ class utils::desktop {
if !defined(Package['rubygems']) {
package { 'rubygems':
- ensure => installed,
+ ensure => installed,
+ require => Package['ruby'],
}
}
}