Lint fixes
This commit is contained in:
parent
57dd18fb9d
commit
20c9094c53
5 changed files with 15 additions and 14 deletions
|
@ -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")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue