Merge "Fixed version detection"
This commit is contained in:
commit
8373ceb4bb
@ -205,7 +205,7 @@ class storyboard::application (
|
||||
}
|
||||
|
||||
# Check vhost permission set.
|
||||
$new_vhost_perms = (versioncmp($::apache::apache_version, '2.4') >= 0)
|
||||
$new_vhost_perms = (versioncmp($::storyboard::params::apache_version, '2.4') >= 0)
|
||||
|
||||
# Are we setting up TLS or non-TLS?
|
||||
if defined(Class['storyboard::cert']) {
|
||||
|
@ -25,7 +25,11 @@ class storyboard::params () {
|
||||
|
||||
case $::osfamily {
|
||||
'Debian': {
|
||||
# Do nothing, since all the defaults are debian-specific.
|
||||
if $::operatingsystem == 'Ubuntu' and $::operatingsystemrelease >= 13.10 {
|
||||
$apache_version = '2.4'
|
||||
} else {
|
||||
$apache_version = '2.2'
|
||||
}
|
||||
}
|
||||
default: {
|
||||
fail("Unsupported osfamily: ${::osfamily} The 'storyboard' module only supports osfamily Debian.")
|
||||
|
Loading…
x
Reference in New Issue
Block a user