From 79f7fe657cbbbe34b097c00087dcc11d65f3e683 Mon Sep 17 00:00:00 2001 From: Ossi Salmi Date: Mon, 31 Mar 2014 14:52:17 +0300 Subject: [PATCH] util: Lint fixes --- util/manifests/init.pp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/util/manifests/init.pp b/util/manifests/init.pp index 0881285..5399fde 100644 --- a/util/manifests/init.pp +++ b/util/manifests/init.pp @@ -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, }