dev/provisioning/modules/archive/manifests/init.pp
changeset 405 f239c8c5bb94
parent 28 b0b56e0f8c7f
--- a/dev/provisioning/modules/archive/manifests/init.pp	Tue Nov 08 15:48:01 2016 +0100
+++ b/dev/provisioning/modules/archive/manifests/init.pp	Tue Nov 08 18:23:01 2016 +0100
@@ -49,6 +49,8 @@
   $proxy_server=undef,
   $purge_target=false,
   $user=undef,
+  $tar_command=undef,
+  $path = $::path,
 ) {
 
   archive::download {"${name}.${extension}":
@@ -65,6 +67,7 @@
     verbose          => $verbose,
     proxy_server     => $proxy_server,
     user             => $user,
+    path             => $path,
   }
 
   archive::extract {$name:
@@ -76,7 +79,9 @@
     extension        => $extension,
     timeout          => $timeout,
     strip_components => $strip_components,
+    tar_command      => $tar_command,
     require          => Archive::Download["${name}.${extension}"],
     user             => $user,
+    path             => $path,
   }
 }