util: Lint fixes

This commit is contained in:
Ossi Salmi 2014-03-31 14:52:17 +03:00
parent a7f62be708
commit 79f7fe657c

View file

@ -119,6 +119,7 @@ define util::extract::tar(
} }
# Extract tar package. # Extract tar package.
# #
# === Parameters # === Parameters
@ -148,6 +149,7 @@ define util::extract::zip($source, $ensure=present) {
refreshonly => true, refreshonly => true,
} }
} }
default: { }
} }
$command = "unzip ${source} -d ${name}" $command = "unzip ${source} -d ${name}"
@ -168,11 +170,12 @@ define util::extract::zip($source, $ensure=present) {
} }
# Install patch. # Install patch.
# #
class util::patch::package { class util::patch::package {
if $kernel == "Linux" { if $::kernel == "Linux" {
package { "patch": package { "patch":
ensure => installed, ensure => installed,
} }