util: Lint fixes
This commit is contained in:
parent
a7f62be708
commit
79f7fe657c
1 changed files with 4 additions and 1 deletions
|
@ -119,6 +119,7 @@ define util::extract::tar(
|
|||
|
||||
}
|
||||
|
||||
|
||||
# Extract tar package.
|
||||
#
|
||||
# === Parameters
|
||||
|
@ -148,6 +149,7 @@ define util::extract::zip($source, $ensure=present) {
|
|||
refreshonly => true,
|
||||
}
|
||||
}
|
||||
default: { }
|
||||
}
|
||||
|
||||
$command = "unzip ${source} -d ${name}"
|
||||
|
@ -168,11 +170,12 @@ define util::extract::zip($source, $ensure=present) {
|
|||
|
||||
}
|
||||
|
||||
|
||||
# Install patch.
|
||||
#
|
||||
class util::patch::package {
|
||||
|
||||
if $kernel == "Linux" {
|
||||
if $::kernel == "Linux" {
|
||||
package { "patch":
|
||||
ensure => installed,
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue