Fixed util::extract::tar
This commit is contained in:
parent
50bc96ceea
commit
39a5aa9924
1 changed files with 1 additions and 2 deletions
|
@ -67,9 +67,8 @@ define util::extract::tar($source, $ensure=present, $strip=0, $preserve=false) {
|
|||
exec { "tar-extract-${name}":
|
||||
path => "/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/local/sbin",
|
||||
command => $command,
|
||||
require => File[$name],
|
||||
require => [ File[$name], Package["tar"], ],
|
||||
unless => "test -n \"$(ls -A ${name})\"",
|
||||
require => Package["tar"],
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue