Skip to content

Commit

Permalink
Merge pull request #13 from tmclaugh/dsc21_package
Browse files Browse the repository at this point in the history
Correct default $package_name for default $version
  • Loading branch information
msimonin committed Jan 11, 2015
2 parents 1777c61 + aff8b01 commit 6cd0e82
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
case $::osfamily {
'Debian': {
$package_name = $::cassandra_package_name ? {
undef => 'dsc12',
undef => 'dsc21',
default => $::cassandra_package_name,
}

Expand All @@ -79,7 +79,7 @@
}
'RedHat': {
$package_name = $::cassandra_package_name ? {
undef => 'dsc12',
undef => 'dsc21',
default => $::cassandra_package_name,
}

Expand Down
2 changes: 1 addition & 1 deletion spec/classes/cassandra_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

it 'does contain package dsc' do
should contain_package('dsc').with({
:name => 'dsc12',
:name => 'dsc21',
})
end

Expand Down

0 comments on commit 6cd0e82

Please sign in to comment.