cosmetics
[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: ensure => $ensure, provider => gem, source => "/tmp/$name.gem" }
8 }