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