Skip to content

Commit

Permalink
Merge pull request #975 from mmoll/jessie
Browse files Browse the repository at this point in the history
fix apache_version for Debian >7
  • Loading branch information
hunner committed Jan 8, 2015
2 parents 511287b + 46574de commit e5d68eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/version.pp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
'Debian': {
if $::operatingsystem == 'Ubuntu' and versioncmp($::operatingsystemrelease, '13.10') >= 0 {
$default = '2.4'
} elsif $::operatingsystem == 'Debian' and $::operatingsystemrelease == 'jessie/sid' {
} elsif $::operatingsystem == 'Debian' and versioncmp($distrelease, '8') >= 0 {
$default = '2.4'
} else {
$default = '2.2'
Expand Down
2 changes: 2 additions & 0 deletions spec/acceptance/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@

if _operatingsystem == 'Ubuntu' and _operatingsystemrelease >= 13.10
$apache_version = '2.4'
elsif _operatingsystem == 'Debian' and _operatingsystemrelease >= 8.0
$apache_version = '2.4'
else
$apache_version = '2.2'
end
Expand Down

0 comments on commit e5d68eb

Please sign in to comment.