Commit graph

2033 commits

Author SHA1 Message Date
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
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
4eec4d9627 only setup library path in main, not emulator
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-26 11:09:58 +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
cf920ca3e9 prefix issues
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-26 10:53:34 +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
c8dc4181f6 Merge branch 'master' into split_into_modules
Conflicts:
	.gitignore

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-26 09:36:36 +02:00
Nico Schottelius
fd9fb13606 and remove asciidoc/gmake dep from the comment
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-26 09:26:58 +02:00
Nico Schottelius
98f4ec9f3e document asciidoc requirement
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-26 09:24:49 +02:00
Nico Schottelius
c10fedaf8c it's not preos, but cdist-preos
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-25 21:10:18 +02:00
Nico Schottelius
a5bfd41195 Detect owl
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-25 15:26:54 +02:00
Nico Schottelius
7b39169e3e ignore all python cache dirs
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-25 15:25:38 +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
d4406cece3 begin to replace first function with path module
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-23 20:17:17 +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
2aa9f2ab8c test: things to do
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-23 18:56:29 +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
Nico Schottelius
edfc54505b Merge branch 'install' into split_into_modules 2011-09-23 18:33:59 +02:00