Commit graph

96 commits

Author SHA1 Message Date
Nico Schottelius
2c9beb9506 use list not method
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 16:23:33 +02:00
Nico Schottelius
ea402fc0c5 use new call to object lists in absolute path
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 16:18:38 +02:00
Nico Schottelius
a25ef7f0e8 fix emulator and cdist module
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 16:16:45 +02:00
Nico Schottelius
14c9317f66 remove old type.path
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 16:12:15 +02:00
Nico Schottelius
3fcbabc5e8 ++fixes
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 16:04:37 +02:00
Nico Schottelius
e5e2fb866c ++fixes
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 16:00:32 +02:00
Nico Schottelius
c1e7731992 cleanups/fixes
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 15:49:25 +02:00
Nico Schottelius
f8853467f3 do not create base directory in transfer_object_parameter, somebody else should have done this
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 15:39:51 +02:00
Nico Schottelius
79234148aa transfer_object_parameter: new src/dst
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 15:39:29 +02:00
Nico Schottelius
183bbf61d4 fix imports from path in config_install
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 15:34:47 +02:00
Nico Schottelius
4f76cfc84e changes for relative
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 15:20:38 +02:00
Nico Schottelius
7169d6ac42 more s/_dir/_path/g
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 15:05:52 +02:00
Nico Schottelius
e1f0d60e8b restructure to _path and do not make context dependent on env
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 15:03:26 +02:00
Nico Schottelius
fa1a4263e0 setup __cdist_base_dir
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 13:51:00 +02:00
Nico Schottelius
ed347ffb8a fix init_deploy()
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 13:49:14 +02:00
Nico Schottelius
2b0a337584 fix base_dir passing
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 13:45:19 +02:00
Nico Schottelius
1138d8b439 remote_remote_code_remote_remote
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 13:44:07 +02:00
Nico Schottelius
ca5361afc1 remote cdist.path, use base_dir
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 13:36:51 +02:00
Nico Schottelius
f121934769 cleanup object_run() finally
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 13:34:22 +02:00
Nico Schottelius
af5a99dc9f update object_run() for new interface
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 13:14:47 +02:00
Nico Schottelius
00550edfcb finish run_manifest()
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 12:58:35 +02:00
Nico Schottelius
4a98b9af55 finish run_type_manifest
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 12:56:36 +02:00
Nico Schottelius
480c1bbb35 cleanup run_type_explorer()
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 12:43:17 +02:00
Nico Schottelius
b936fea3e5 link to emulator in config_install and remove it from emulator
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 12:10:57 +02:00
Nico Schottelius
8a4b8e9b66 cleanup run_global_explorers()
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 12:04:38 +02:00
Nico Schottelius
b568a5886c retrieve explorers from explorer class and allow zero explorers
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 11:56:16 +02:00
Nico Schottelius
08975c4d2f path -> config_install
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 09:47:29 +02:00
Nico Schottelius
b891818b9c remove obsolete get_type_from_object() and use Object.type
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-06 20:42:31 +02:00
Nico Schottelius
c0d6d4d530 use name, not object
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-06 20:37:55 +02:00
Nico Schottelius
9b5b94577f add debug
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-06 20:32:47 +02:00
Nico Schottelius
579bd45c87 cleanup more stuff in config_install
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-06 20:24:40 +02:00
Nico Schottelius
13d47f3cf4 remove datetime from config to wrong position
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-06 20:20:35 +02:00
Nico Schottelius
609efcbfd1 Remove datetime from config_install, break code and make it more beautiful
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-06 20:14:34 +02:00
Nico Schottelius
1db4cd48d2 -typo
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-06 20:11:23 +02:00
Nico Schottelius
14082f5c00 string, not tuple in exception
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-06 20:05:24 +02:00
Nico Schottelius
a87e6f22b5 use new cdist.Error exception
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-06 19:59:07 +02:00
Nico Schottelius
8305f07aab stage prepare uses new object interface
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-06 19:43:07 +02:00
Nico Schottelius
df5de24b72 begin use of cdist.core.Object.list_objects()
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-06 18:26:55 +02:00
Nico Schottelius
1da7436fcb Merge branch 'install'
Conflicts:
	lib/cdist/config.py

Some problems left.

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-06 17:06:56 +02:00
Nico Schottelius
1c8a143397 commit previously missed change
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-06 16:52:56 +02:00
Nico Schottelius
820eea56fb install finish
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-06 09:27:16 +02:00
Nico Schottelius
7f85aab3ef add some pseudo code to adapt to changes
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-05 16:45:10 +02:00
Nico Schottelius
a0c984acdd config+install is broken now due to refactoring
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-05 16:38:19 +02:00
Nico Schottelius
28428177ae --typo
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-05 15:53:34 +02:00
Nico Schottelius
a875d69d7e continue on test_path testcase
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-05 14:15:05 +02:00
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