Skip to content

Commit

Permalink
Merge pull request #7 from aerostitch/correct_amc_package_name
Browse files Browse the repository at this point in the history
Correcting package name for the amc
  • Loading branch information
aerostitch committed Feb 21, 2016
2 parents 0a2d143 + 38f6952 commit 0599883
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion manifests/install.pp
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@

# For now only the packages that are not tarballs are installed.
if $amc_pkg_provider != undef {
ensure_packages('aerospike-amc', {
ensure_packages("aerospike-amc-${aerospike::edition}", {
ensure => installed,
provider => $amc_pkg_provider,
source => $amc_dest,
Expand Down
4 changes: 2 additions & 2 deletions spec/classes/aerospike_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@

# Tests related to the aerospike::install class
it { is_expected.to_not contain_archive('/usr/local/src/aerospike-amc-community-3.6.6.all.x86_64.deb') }
it { is_expected.to_not contain_package('aerospike-amc') }
it { is_expected.to_not contain_package('aerospike-amc-community') }

# Tests related to the aerospike::config class

Expand Down Expand Up @@ -352,7 +352,7 @@
end

it do
is_expected.to contain_package('aerospike-amc')\
is_expected.to contain_package('aerospike-amc-community')\
.with_ensure('installed')\
.with_provider('dpkg')\
.with_source('/tmp/aerospike-amc-community-3.6.5.all.x86_64.deb')
Expand Down

0 comments on commit 0599883

Please sign in to comment.