Nico Schottelius
|
59bee14101
|
begin to eliminate remote_user/prefix from path
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
df630e1fdf
|
user remote_prefix=True now
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
eea6a38f33
|
cat only locally :-)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
278c379e07
|
use os.environ['__remote_exec'] in exec*
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
ecc4fc10d7
|
setup __remote_exec and __remote_copy variables
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
26c0d5d9aa
|
upcoming changes for 2.0.3
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
d15d659248
|
increment version for next release
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
d8da7635de
|
use warning loglevel by default
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
b52939ccfe
|
only debug if __debug is setup
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
ae7887f775
|
++changes
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
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 |
Nico Schottelius
|
4e8f99b01d
|
almost completly implemented type emulator in python
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
d6db6d0c7e
|
begin move of cdist-type-emulator to lib/ and submit initial_manifest to cdist
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
e5297ddf31
|
move types to config dir
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
33d05d3519
|
add dummy manifest for type: file
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
9130ee71f4
|
this is not a manifest, but gencode part
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
4d4a13b0ab
|
add functionality to type "file"
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
b81b19d126
|
begin to create first type: file
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
49ab674edf
|
move lib below conf
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
847054c77d
|
finish cdist-explore
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |