Removed troublesome requires.

This commit is contained in:
Ossi Salmi 2010-10-26 16:22:55 +03:00 committed by Timo Mkinen
parent 0017afd4fe
commit 3d7b5699d6
2 changed files with 1 additions and 3 deletions

View file

@ -16,7 +16,6 @@ define python::setup::install() {
cwd => "${name}", cwd => "${name}",
command => "python setup.py install", command => "python setup.py install",
unless => "test -d build", unless => "test -d build",
require => File["${name}"],
} }
} }

View file

@ -35,7 +35,7 @@ define util::extract::tar($source, $strip=0) {
exec { "extract-tar-${name}": exec { "extract-tar-${name}":
path => "/bin:/usr/bin:/sbin:/usr/sbin", path => "/bin:/usr/bin:/sbin:/usr/sbin",
command => "${cat} ${source} | tar xf - --strip-components=${strip} -C ${name}", command => "${cat} ${source} | tar xf - --strip-components=${strip} -C ${name}",
require => [ File["${name}"], File["${source}"], ], require => [ File["${name}"], ],
unless => "test -n \"$(ls -A ${name})\"", unless => "test -n \"$(ls -A ${name})\"",
} }
@ -68,7 +68,6 @@ define util::patch($source, $strip=0) {
cwd => "${name}", cwd => "${name}",
command => "patch -N -t -p${strip} < ${source}", command => "patch -N -t -p${strip} < ${source}",
onlyif => "patch --dry-run -N -t -p${strip} < ${source}", onlyif => "patch --dry-run -N -t -p${strip} < ${source}",
require => [ File["${name}"], File["${source}"], ],
} }
} }