Commit graph

1908 commits

Author SHA1 Message Date
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
Nico Schottelius
87937ecec9 also always use utf-8 for html
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-27 00:12:11 +02:00
Nico Schottelius
1cfb6bf5a8 make manpage compile for __partition_msdos_apply
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-27 00:11:59 +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
d5df740f17 always compile documentation with UTF-8 encoding
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-26 20:14:04 +02:00
Nico Schottelius
5e862c9ede make cdist-tutorial compile
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-26 17:33:26 +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
24b8a57df5 write first tests for the exec module
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-26 16:04:27 +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
Steven Armstrong
10ee0c2425 Merge remote-tracking branch 'cdist/master' 2011-09-26 15:44:59 +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
ef197eebe3 move test to top level
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-26 15:42:27 +02:00
Nico Schottelius
996fa75c2e cleanup cdist imports
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-26 15:18:55 +02:00
Nico Schottelius
597e1e7345 remove obsolete cdist-deploy-stdin-to
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-26 15:15:36 +02:00
Nico Schottelius
0cd24f1544 rename quickstart to tutorial
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-26 15:08:59 +02:00
Steven Armstrong
9751f16fb1 Merge remote-tracking branch 'cdist/master' 2011-09-26 15:01:12 +02:00
Nico Schottelius
6458499d2b J)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-26 12:02:24 +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