Commit graph

45 commits

Author SHA1 Message Date
Nico Schottelius
b3f914f6f6 create base module for install and config
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-04 18:45:29 +02:00
Nico Schottelius
f88cb78d61 finish test_path.test_type_detection
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-04 18:36:43 +02:00
Nico Schottelius
8dd248cf76 cleanup on exit and begin to create test types
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-04 17:01:11 +02:00
Nico Schottelius
6c22867fc2 begin to test path and add method to check type
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-04 16:32:43 +02:00
Nico Schottelius
40a1619c1a make build test work (or fail, but work) again
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-04 16:15:10 +02:00
Nico Schottelius
3d75ec9bfc make test suite usable from command line
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-04 15:49:18 +02:00
Nico Schottelius
410a2fe7ff test_explorer_ran finished
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-04 15:08:37 +02:00
Nico Schottelius
13ed37a4e9 begin to test explorer success in test_install
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-04 14:45:35 +02:00
Nico Schottelius
db322c0b5e integrate tests into library
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-04 14:29:33 +02:00
Nico Schottelius
26c0d5d9aa upcoming changes for 2.0.3
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-27 17:27:28 +02:00
Nico Schottelius
d15d659248 increment version for next release
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-27 17:20:43 +02:00
Nico Schottelius
d8da7635de use warning loglevel by default
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-27 17:15:54 +02:00
Nico Schottelius
b52939ccfe only debug if __debug is setup
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-27 16:40:50 +02:00
Nico Schottelius
ae7887f775 ++changes
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-27 16:25:58 +02:00
Nico Schottelius
a165585699 pass __debug to manifest
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-27 16:20:46 +02:00
Nico Schottelius
272b8722c1 fix output, compare string with string not string with list
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-27 16:10:53 +02:00
Nico Schottelius
ccbd0f1d84 introduce config.link_emulator() to be called from test
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-27 16:05:26 +02:00
Nico Schottelius
cc87573d6b remove lecagy cdist-type-emulator support
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-27 15:35:04 +02:00
Nico Schottelius
0913bb21dd use raise instead of sys.exit in emulator
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-27 14:08:11 +02:00
Nico Schottelius
9d582ae24f rename emulator to run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-27 14:01:09 +02:00
Nico Schottelius
6f1a13b531 move emulator link to emulator module and make source variable (exec_path)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-27 13:38:25 +02:00
Nico Schottelius
2c0a7adf74 replace CdistError with cdist.Error
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-27 00:49:12 +02:00
Nico Schottelius
df84480fcc BUGFIX: emulator compared parameter with value
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-27 00:02:04 +02:00
Nico Schottelius
c687dbdc70 remove remote_cat, as it's only used in exec module
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-26 16:22:09 +02:00
Nico Schottelius
6e73572a95 easier check for remote_prefix
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-26 16:21:56 +02:00
Nico Schottelius
7882b4a3ac only print env, if existent
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-26 16:03:53 +02:00
Nico Schottelius
4906f604f0 raise cdist errors
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-26 15:42:39 +02:00
Nico Schottelius
fc1e0d9f1f remove exec bits from copying
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-26 11:55:59 +02:00
Nico Schottelius
27b4b9cd03 also move out install and cleanup library path code
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-26 11:53:09 +02:00
Nico Schottelius
35e33570d1 also move out config
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-26 11:45:19 +02:00
Nico Schottelius
0197f8da13 more cleanups from refactoring
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-26 11:25:22 +02:00
Nico Schottelius
74dc5b96cb type emulator begins to run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-26 11:21:04 +02:00
Nico Schottelius
6d75016139 make type emulator load again
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-26 11:18:36 +02:00
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>
2011-09-26 11:07:45 +02:00
Nico Schottelius
16d58dcac7 move out banner, fail at emulator
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-26 11:05:18 +02:00
Nico Schottelius
e6a903fd96 cleanup logger stuff, remove more path stuff from cdist bin
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-26 10:28:57 +02:00
Nico Schottelius
8f2e5bb8c8 cleanup and move error class to init
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-26 10:25:51 +02:00
Nico Schottelius
bc9bc37aab use remote_prefix internally
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-26 10:17:02 +02:00
Nico Schottelius
8af45f83b2 rearange remote_user
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-23 20:53:09 +02:00
Nico Schottelius
3925ba1c6e pass remote_prefix to run_or_fail/shell
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-23 20:35:13 +02:00
Nico Schottelius
e14848ec1f remove run* from cdist and put it into lib/exec
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-23 20:21:10 +02:00
Nico Schottelius
79173488ff cdist runs with path module loaded (unusued though)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-23 20:08:55 +02:00
Nico Schottelius
26fad6f23c correct base dir, now relative to lib
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-23 19:13:36 +02:00
Nico Schottelius
6139fab354 import cdist.path works
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-23 19:10:07 +02:00
Nico Schottelius
8e59f97800 begin to used cdist.path
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-23 18:55:23 +02:00