Commit graph

78 commits

Author SHA1 Message Date
Nico Schottelius
62383eed8d ++stuff
Signed-off-by: Nico Schottelius <nico@loch.schottelius.org>
2011-10-13 03:00:57 +02:00
Nico Schottelius
09209e47d6 ideas for explorer run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-12 20:29:53 +02:00
Nico Schottelius
e8f7fe3faa intermediate commit for cdist state
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-12 16:59:02 +02:00
Nico Schottelius
9f49f99294 use self.log for correct logger
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-11 17:09:47 +02:00
Nico Schottelius
b7824c3ead move explorer out dir creation into Explorer class
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-11 17:05:35 +02:00
Nico Schottelius
d95d195b40 have object seave its explorer outputs
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-11 16:59:43 +02:00
Nico Schottelius
794a11d866 %s/\(self.\)\([a-z]*_path\)/\1context.\2/g
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-11 16:56:05 +02:00
Nico Schottelius
588731661e use context in explorer
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-11 16:49:50 +02:00
Nico Schottelius
dbd31252a8 remove CODE_HEADER
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-11 16:45:36 +02:00
Nico Schottelius
b8a3cf2f49 remove manifest code from config_install
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-11 16:25:48 +02:00
Nico Schottelius
d9d9e6bff6 move back transfer stuff to exec
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-11 15:47:32 +02:00
Nico Schottelius
cfb74897c4 write down (almost?) all tests for config_install
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-11 13:47:41 +02:00
Nico Schottelius
2c5b064b00 ++todo = remove CODE_HEADER in generated code
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-11 13:06:29 +02:00
Nico Schottelius
5443db97c4 always setup __debug if debug is set
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-11 12:54:55 +02:00
Nico Schottelius
e72ad1f7cb emulator not needed in config_install anymore
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-11 12:19:13 +02:00
Nico Schottelius
94cca2e537 prepend hostname in emulator as well
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-11 00:28:53 +02:00
Nico Schottelius
92d3925b1c add filter to prepend hostname in config_install
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-11 00:18:32 +02:00
Nico Schottelius
35bfa2fcdc finish merge of context and config_install
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-10 18:50:06 +02:00
Nico Schottelius
c81a2925b8 accept exec_path, setup__target_host
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-10 15:38:38 +02:00
Nico Schottelius
7823d0c997 merge context back into config (it is in fact the same idea)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-10 11:31:37 +02:00
Nico Schottelius
56e1fc9eb8 type explorer should run with remote base as well :-)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-08 12:01:53 +02:00
Nico Schottelius
e10ebeadf8 BUGFIX: export global explorer with path from remote
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-08 03:24:05 +02:00
Nico Schottelius
11a8379c75 +comment
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 18:13:58 +02:00
Nico Schottelius
d21126189c indent/cleanup
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 18:04:13 +02:00
Nico Schottelius
d32aa37fba cleanup context
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 17:07:31 +02:00
Nico Schottelius
073717e07e some more relative to absolute path changes
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 17:07:10 +02:00
Nico Schottelius
b5c01f7354 update code to use new _path from object
and type

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 17:04:52 +02:00
Nico Schottelius
4a1cf3dbf3 -typo
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 17:02:24 +02:00
Nico Schottelius
35900ae66c make type explorer work
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 17:01:59 +02:00
Nico Schottelius
d9bb8e3107 use cdist_type
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 16:55:19 +02:00
Nico Schottelius
03226dc5aa more fixes for relative path address
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 16:36:05 +02:00
Nico Schottelius
fd2fa23564 fix typeexplorer transfer
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 16:27:15 +02:00
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