From c525129bddedef1fc056d59d12dabc43b73c083b Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Tue, 21 Sep 2010 20:08:58 +0200 Subject: [PATCH] change to actual host config, before executing it Signed-off-by: Nico Schottelius --- bin/cdist-apply | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bin/cdist-apply b/bin/cdist-apply index aa118cda..cbe84253 100755 --- a/bin/cdist-apply +++ b/bin/cdist-apply @@ -33,4 +33,9 @@ fi # Run the manifest, but abort on first error set -e + +# change to config dir, to be able to use relative filenames +cd "${conf}" + +# And apply the stuff . "${conf}/manifest"