Commit graph

2179 commits

Author SHA1 Message Date
Daniel Roth
390342b324 Mac OS X Tutorial 2011-10-02 12:03:03 +02:00
Nico Schottelius
f3bedd8d93 move tests to test/ again, but seperate them now and add ./build.sh test
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-01 17:25:12 +02:00
Nico Schottelius
7d290a7755 begin to splitup test cases
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-01 16:34:25 +02:00
Nico Schottelius
06d174f750 Merge remote-tracking branch 'dani/dev' 2011-10-01 13:12:50 +02:00
Daniel Roth
ab061770f4 Installation with gentoo 2011-10-01 13:08:07 +02:00
Nico Schottelius
f357eb3038 test config of localhost
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-28 09:17:27 +02:00
Nico Schottelius
3265755bb9 test help function
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-28 09:15:04 +02:00
Nico Schottelius
5d018393a9 test if banner works
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-28 09:13:39 +02:00
Nico Schottelius
e162861b17 consistently support -h, -v, -d in all commands
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-28 09:06:20 +02:00
Nico Schottelius
fdb694bc42 ++todo
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-27 17:36:01 +02:00
Nico Schottelius
298688eb35 hint for archlinux users
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-27 17:31:39 +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
0e8dcb2f3d add verbose support
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-27 17:20:31 +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
6c9bf9e5d7 use cdist, not __main__ as logger name
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-27 17:12:08 +02:00
Nico Schottelius
dfc3d4c7c8 toc = level 3 (we are getting bigger)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-27 16:55:39 +02:00
Nico Schottelius
6519d7e92c add hint for debian/argparse
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-27 16:53:02 +02:00
Nico Schottelius
4a0e0ceb8a release 2.0.2 today
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-27 16:44:38 +02:00
Nico Schottelius
67f45944dd less todo
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-27 16:43:53 +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
b63fdf16ed document __debug in reference
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-27 16:21:36 +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
1d981200c8 test breaking run, if a non existent command is called
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-27 15:56:43 +02:00
Steven Armstrong
fe444eb04d Merge remote-tracking branch 'cdist/master' 2011-09-27 15:54:28 +02:00
Nico Schottelius
3ebece5784 +\n in writelines
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-27 15:47:56 +02:00
Steven Armstrong
2db2873d3e Merge remote-tracking branch 'cdist/master' 2011-09-27 15:46:01 +02:00
Nico Schottelius
dc416f5f49 pass function, not return :-)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-27 15:43:54 +02:00
Steven Armstrong
840254cdd3 Merge remote-tracking branch 'cdist/master' 2011-09-27 15:40:17 +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
7ec9fbbf12 fix argument passing in tests
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-27 14:01:04 +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
b9335bb7ce update os/os_version explorer to support owl (openwall linux)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-27 10:35:25 +02:00
Steven Armstrong
b2f1d8e7c0 Merge remote-tracking branch 'cdist/master' 2011-09-27 09:32:45 +02:00
Nico Schottelius
4879f744c1 manpage cleanups
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-27 01:25:04 +02:00
Nico Schottelius
75023a4ac9 begin to cleanup cdist-stages
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-27 01:22:45 +02:00
Nico Schottelius
ae4d6002f0 permissions/rephrase
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-27 01:21:16 +02:00
Nico Schottelius
3e49b12a6d update cdist-hacker
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-27 01:17:32 +02:00
Nico Schottelius
cdd4e09683 prefix/localhost in tutorial
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-27 01:12:09 +02:00
Nico Schottelius
d87deba30e cleanup tutorial, fillup todo
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-27 01:01:12 +02:00
Nico Schottelius
1dcc3b771e +some ssh hints, localhost hint
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-27 00:58:16 +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
326ff67283 break tests by fixing them
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-27 00:48:29 +02:00
Nico Schottelius
603f1c3ae0 also check that giving a paramter twice works
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-27 00:38:08 +02:00
Nico Schottelius
877d8fed30 verify that corrupted manifests are detected as such
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-27 00:34:41 +02:00