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.
|
# 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,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue