We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10f04ef commit 46574deCopy full SHA for 46574de
2 files changed
manifests/version.pp
@@ -21,7 +21,7 @@
21
'Debian': {
22
if $::operatingsystem == 'Ubuntu' and versioncmp($::operatingsystemrelease, '13.10') >= 0 {
23
$default = '2.4'
24
- } elsif $::operatingsystem == 'Debian' and $::operatingsystemrelease == 'jessie/sid' {
+ } elsif $::operatingsystem == 'Debian' and versioncmp($distrelease, '8') >= 0 {
25
26
} else {
27
$default = '2.2'
spec/acceptance/version.rb
@@ -38,6 +38,8 @@
38
39
if _operatingsystem == 'Ubuntu' and _operatingsystemrelease >= 13.10
40
$apache_version = '2.4'
41
+ elsif _operatingsystem == 'Debian' and _operatingsystemrelease >= 8.0
42
+ $apache_version = '2.4'
43
else
44
$apache_version = '2.2'
45
end
0 commit comments