add logfile that describes how the cache is going to be enhaced

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
begin to implement -C --cache-dir

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
++freedom

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
++logs and migrate context -> local

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
port context -> remote

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
remove context from shell

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
begin to migrate to '--output-base-path', shrink context

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
refactoring

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
move create_files_dirs more to up - it is similar to init()

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
++changes

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
rename out_path -> out_dir for consistency

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
fallback to sys.argv[0] by default

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
fix test cdist.test.config_install.ConfigInstallRunTestCase

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
:%s/self.out_path/self.base_path/g

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
fix old bug / joining wrong args

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
out_path -> base_path

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
throw a better exception when environment variables are missing

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
refactor out_path -> base_path

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
fix all tests -> back to normal

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
Bourne is not bash

see http://shebang.brandonmintern.com/bourne-is-not-bash-or-read-echo-and-backslash/

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>