Skip to content

Commit

Permalink
Fix misleading error message
Browse files Browse the repository at this point in the history
This optimization reduces debugging time when hitting it by approximately 10 minutes ;-)
  • Loading branch information
DavidS committed Oct 15, 2014
1 parent 8e94543 commit 7fa34ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/version.pp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
$osr_array = split($::operatingsystemrelease,'[\/\.]')
$distrelease = $osr_array[0]
if ! $distrelease {
fail("Class['apache::params']: Unparsable \$::operatingsystemrelease: ${::operatingsystemrelease}")
fail("Class['apache::version']: Unparsable \$::operatingsystemrelease: ${::operatingsystemrelease}")
}

case $::osfamily {
Expand Down

0 comments on commit 7fa34ca

Please sign in to comment.