add hiera gems
[puppet_rubygems.git] / manifests / brokengem.pp
1 define rubygems::brokengem($source,$ensure) {
2     exec { "get-gem-$name":
3         command => "/usr/bin/wget --output-document=/tmp/$name.gem $source",
4         creates => "/tmp/$name.gem",
5         before => Package[$name]
6     }
7     package{$name:
8         ensure => $ensure,
9         provider => gem,
10         source => "/tmp/$name.gem"
11     }
12 }
13
14 # $Id$