Permalink
Browse files

use $package var in package when using httpfile

  • Loading branch information...
1 parent a79cdc4 commit 2ddd01679ac9d55728b30ba61dba724ecc2762f8 @andyshinn andyshinn committed Nov 8, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 manifests/init.pp
  2. +1 −1 spec/classes/riak_spec.rb
View
@@ -173,7 +173,7 @@
require => Anchor['riak::start'],
before => Anchor['riak::end'],
}
- package { 'riak':
+ package { $package:
ensure => $manage_package,
source => $pkgfile,
provider => $riak::params::package_provider,
@@ -33,7 +33,7 @@
:path => '/tmp/custom_riak-1.2.0.deb',
:hash => 'abcd' })
end
- it { should contain_package('riak').
+ it { should contain_package('custom_riak').
with({
:ensure => 'installed',
:source =>'/tmp/custom_riak-1.2.0.deb'}) }

0 comments on commit 2ddd016

Please sign in to comment.