Nico Schottelius
|
a165585699
|
pass __debug to manifest
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
272b8722c1
|
fix output, compare string with string not string with list
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
ccbd0f1d84
|
introduce config.link_emulator() to be called from test
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
cc87573d6b
|
remove lecagy cdist-type-emulator support
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
0913bb21dd
|
use raise instead of sys.exit in emulator
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
9d582ae24f
|
rename emulator to run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
6f1a13b531
|
move emulator link to emulator module and make source variable (exec_path)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
2c0a7adf74
|
replace CdistError with cdist.Error
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
df84480fcc
|
BUGFIX: emulator compared parameter with value
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
c687dbdc70
|
remove remote_cat, as it's only used in exec module
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
6e73572a95
|
easier check for remote_prefix
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
7882b4a3ac
|
only print env, if existent
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
4906f604f0
|
raise cdist errors
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
fc1e0d9f1f
|
remove exec bits from copying
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
27b4b9cd03
|
also move out install and cleanup library path code
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
35e33570d1
|
also move out config
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
0197f8da13
|
more cleanups from refactoring
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
74dc5b96cb
|
type emulator begins to run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
6d75016139
|
make type emulator load again
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
3f6c479d72
|
move TYPE_PREFIX back into main, as it's only needed there and should work without module
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
16d58dcac7
|
move out banner, fail at emulator
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
e6a903fd96
|
cleanup logger stuff, remove more path stuff from cdist bin
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
8f2e5bb8c8
|
cleanup and move error class to init
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
bc9bc37aab
|
use remote_prefix internally
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
8af45f83b2
|
rearange remote_user
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
3925ba1c6e
|
pass remote_prefix to run_or_fail/shell
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
e14848ec1f
|
remove run* from cdist and put it into lib/exec
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
79173488ff
|
cdist runs with path module loaded (unusued though)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
26fad6f23c
|
correct base dir, now relative to lib
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
6139fab354
|
import cdist.path works
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
8e59f97800
|
begin to used cdist.path
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |