Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

use $package var in package when using httpfile

  • Loading branch information...
commit 2ddd01679ac9d55728b30ba61dba724ecc2762f8 1 parent a79cdc4
@andyshinn andyshinn authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  manifests/init.pp
  2. +1 −1  spec/classes/riak_spec.rb
View
2  manifests/init.pp
@@ -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,
View
2  spec/classes/riak_spec.rb
@@ -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'}) }
Please sign in to comment.
Something went wrong with that request. Please try again.