Commit graph

2682 commits

Author SHA1 Message Date
Steven Armstrong
ff2192f6de remove legacy attributes: ran, prepared
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-19 14:54:15 +02:00
Steven Armstrong
022b17d700 implement Object state
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-19 14:53:31 +02:00
Steven Armstrong
4f398a834f /ran/done/
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-19 14:53:06 +02:00
Steven Armstrong
02de396905 tests for Object state
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-19 14:50:16 +02:00
Nico Schottelius
3814dcd728 remove old test ideas from todo
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2011-10-18 23:12:35 +02:00
Nico Schottelius
b7fdfb12e6 cleanups
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2011-10-18 22:40:29 +02:00
Nico Schottelius
7d749540d8 changes for 2.0.4
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2011-10-18 22:40:17 +02:00
Nico Schottelius
68d87c3023 reference new and old variable, remove reference to cdist-config
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2011-10-18 22:34:51 +02:00
Nico Schottelius
8b9e6780b8 no need for a constant that's used two lines below
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2011-10-18 20:42:09 +02:00
Nico Schottelius
0344796d31 restructure imports
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2011-10-18 20:36:35 +02:00
Nico Schottelius
e3f3c48b22 wrap the whole program in the try...except KeyboardInterrupt block
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2011-10-18 20:34:35 +02:00
Nico Schottelius
27fd9cd61b add sudo example
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2011-10-18 16:05:47 +02:00
Nico Schottelius
837489ce85 remove obsolete preseed code from __package_apt
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2011-10-18 15:54:08 +02:00
Nico Schottelius
4d4287c580 Merge remote-tracking branch 'steven/master' 2011-10-18 15:14:44 +02:00
Steven Armstrong
04af96b5e3 Merge remote-tracking branch 'telmich/master' 2011-10-18 15:09:50 +02:00
Steven Armstrong
d427e3f585 __self should not contain .cdist
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-18 15:07:58 +02:00
Steven Armstrong
205cd7b28a fix the test
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-18 15:07:58 +02:00
Steven Armstrong
2246b7496b fails if requirement has illegal object_id
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-18 15:07:58 +02:00
Steven Armstrong
2a5465c03c test that emulator fails if requirement has illegal object_id
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-18 15:07:58 +02:00
Steven Armstrong
030d5919e6 raise exception if object_id contains .cdist
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-18 15:07:58 +02:00
Steven Armstrong
af367a76f8 test for: .cdist may not be used in object_id
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-18 15:07:58 +02:00
Steven Armstrong
e58b52592b add missing environment variable __self
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-18 15:07:58 +02:00
Steven Armstrong
1805c16fd4 --debug
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-18 15:07:58 +02:00
Steven Armstrong
a946b5cf59 verify manifest environment
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-18 15:07:58 +02:00
Nico Schottelius
7bb81e2f18 Whitespace does not not weigh anything - remove - sed -i 's/ *$//g' *py */*py
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2011-10-18 13:32:36 +02:00
Nico Schottelius
7160637014 remove trailing whitespace: :%s/ *$//g
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2011-10-18 13:29:44 +02:00
Steven Armstrong
91c1215566 wrap exceptions in cdist.Error
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-18 13:27:44 +02:00
Steven Armstrong
e9a0aa1863 fail if requirements type does not exist
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-18 13:20:14 +02:00
Steven Armstrong
64edfc4640 add tests for emulator
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-18 13:19:37 +02:00
Steven Armstrong
4975b4643a --typo
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-18 13:11:53 +02:00
Steven Armstrong
95a858c350 implement: fail if type does not exist on the filesystem
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-18 12:46:06 +02:00
Steven Armstrong
a0a4a7382d import NoSuchTypeError into cdist.core namespace
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-18 12:44:07 +02:00
Steven Armstrong
bd81045caf test for nonexistent type
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-18 12:43:14 +02:00
Steven Armstrong
16ab494628 doc++
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-18 12:39:36 +02:00
Steven Armstrong
0d4a0eb46a Merge remote-tracking branch 'telmich/master' 2011-10-18 12:39:18 +02:00
Nico Schottelius
fc3382f976 add log for requirement for non-existent type bug
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-18 12:24:47 +02:00
Nico Schottelius
10114dccee add traceback output, uncaught
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-18 10:44:09 +02:00
Nico Schottelius
50cb8807bf fix tests to work (not code :-)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-18 09:57:50 +02:00
Nico Schottelius
a1b9bec8ce changes for 2.0.3
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-18 09:55:30 +02:00
Steven Armstrong
077a04b89e todo++
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-17 13:52:45 +02:00
Steven Armstrong
4dd7468725 todo++
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-17 09:49:33 +02:00
Steven Armstrong
22a599185c todo++
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-17 09:33:34 +02:00
Steven Armstrong
71b6616d1e --todo
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-17 09:30:22 +02:00
Nico Schottelius
e64f46ba4e document bugfix for next version
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-16 19:40:02 +02:00
Nico Schottelius
1e4de3521a skip errer detection in findline explorer
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-16 19:38:50 +02:00
Nico Schottelius
4849149af5 add example type
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-16 18:49:41 +02:00
Nico Schottelius
8adb467304 +readme
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-16 18:47:51 +02:00
Nico Schottelius
a69069f28c make unfinished examples disappear
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-16 18:45:36 +02:00
Nico Schottelius
bd13fbab3a remove old tests from config install and co.
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-16 18:45:09 +02:00
Nico Schottelius
74920d53a6 ++cleanup
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-16 18:44:36 +02:00