Lint fixes

This commit is contained in:
Ossi Salmi 2014-12-12 17:40:12 +02:00
parent 57dd18fb9d
commit 20c9094c53
5 changed files with 15 additions and 14 deletions

View file

@ -123,6 +123,7 @@ class mysql::server {
},
}
}
default: {}
}
}

View file

@ -5,15 +5,15 @@ class phantomjs {
if !$phantomjs_package {
case $::architecture {
"amd64","x86_64": {
if $phantomjs64_package_latest {
$phantomjs_package = $phantomjs64_package_latest
if $::phantomjs64_package_latest {
$phantomjs_package = $::phantomjs64_package_latest
} else {
fail("Must define \$phantomjs_package or \$phantomjs64_package_latest")
}
}
default: {
if $phantomjs32_package_latest {
$phantomjs_package = $phantomjs32_package_latest
if $::phantomjs32_package_latest {
$phantomjs_package = $::phantomjs32_package_latest
} else {
fail("Must define \$phantomjs_package or \$phantomjs32_package_latest")
}

View file

@ -10,15 +10,15 @@ class teamspeak($package=undef, $license=undef) {
if ! $package {
case $::architecture {
"amd64","x86_64": {
if $teamspeak64_package_latest {
$teamspeak_package = $teamspeak64_package_latest
if $::teamspeak64_package_latest {
$teamspeak_package = $::teamspeak64_package_latest
} else {
fail("Must define \$teamspeak_package or \$teamspeak64_package_latest")
}
}
default: {
if $teamspeak32_package_latest {
$teamspeak_package = $teamspeak32_package_latest
if $::teamspeak32_package_latest {
$teamspeak_package = $::teamspeak32_package_latest
} else {
fail("Must define \$teamspeak_package or \$teamspeak32_package_latest")
}