From 3d7b5699d673f4246f77e9f9c64cc3b545010c0d Mon Sep 17 00:00:00 2001 From: Ossi Salmi Date: Tue, 26 Oct 2010 16:22:55 +0300 Subject: [PATCH] Removed troublesome requires. --- python/manifests/init.pp | 1 - util/manifests/init.pp | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/python/manifests/init.pp b/python/manifests/init.pp index 2fe16b3..0533441 100644 --- a/python/manifests/init.pp +++ b/python/manifests/init.pp @@ -16,7 +16,6 @@ define python::setup::install() { cwd => "${name}", command => "python setup.py install", unless => "test -d build", - require => File["${name}"], } } diff --git a/util/manifests/init.pp b/util/manifests/init.pp index 6bb5bb0..7c3ed40 100644 --- a/util/manifests/init.pp +++ b/util/manifests/init.pp @@ -35,7 +35,7 @@ define util::extract::tar($source, $strip=0) { exec { "extract-tar-${name}": path => "/bin:/usr/bin:/sbin:/usr/sbin", command => "${cat} ${source} | tar xf - --strip-components=${strip} -C ${name}", - require => [ File["${name}"], File["${source}"], ], + require => [ File["${name}"], ], unless => "test -n \"$(ls -A ${name})\"", } @@ -68,7 +68,6 @@ define util::patch($source, $strip=0) { cwd => "${name}", command => "patch -N -t -p${strip} < ${source}", onlyif => "patch --dry-run -N -t -p${strip} < ${source}", - require => [ File["${name}"], File["${source}"], ], } }