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 { if !$phantomjs_package {
case $::architecture { case $::architecture {
"amd64","x86_64": { "amd64","x86_64": {
if $phantomjs64_package_latest { if $::phantomjs64_package_latest {
$phantomjs_package = $phantomjs64_package_latest $phantomjs_package = $::phantomjs64_package_latest
} else { } else {
fail("Must define \$phantomjs_package or \$phantomjs64_package_latest") fail("Must define \$phantomjs_package or \$phantomjs64_package_latest")
} }
} }
default: { default: {
if $phantomjs32_package_latest { if $::phantomjs32_package_latest {
$phantomjs_package = $phantomjs32_package_latest $phantomjs_package = $::phantomjs32_package_latest
} else { } else {
fail("Must define \$phantomjs_package or \$phantomjs32_package_latest") fail("Must define \$phantomjs_package or \$phantomjs32_package_latest")
} }

View file

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