Commit graph

27 commits

Author SHA1 Message Date
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
Steven Armstrong
c24b20de08 make nico happy
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-14 16:42:14 +02:00
Steven Armstrong
eac3cc31c4 export __debug in environment
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-14 16:33:56 +02:00
Steven Armstrong
d2bbd1d14c fix imports
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-13 17:04:07 +02:00
Steven Armstrong
fec3cca3b0 delegate path handling to local and remote
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-13 16:25:44 +02:00
Nico Schottelius
f0852209f0 save debug in context
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-11 16:59:22 +02:00
Nico Schottelius
73f1190d55 cleanup context internally
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-11 16:45:45 +02:00
Nico Schottelius
dc21405583 use target host as key for logger
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-11 16:26:01 +02:00
Nico Schottelius
4c29d9839b configure logger based on hostname
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-11 16:19:27 +02:00
Nico Schottelius
d4f6328eef finish context
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-11 16:05:32 +02:00
Nico Schottelius
0397e77a3e cleanup context
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-11 16:04:09 +02:00
Nico Schottelius
5bd23d0605 template for context (REDO)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-11 15:59:26 +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
63c9a91bca +whitespace save out only
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 17:12:06 +02:00
Nico Schottelius
c93e0f90c9 create remote conf path on new context
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 16:09:10 +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
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
1b484e2d87 setup __cdist_base_dir
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 13:50:37 +02:00
Nico Schottelius
fc6ae54889 os.path not os
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 13:48:10 +02:00
Nico Schottelius
e03ebcd5c1 require conf_dir to find manifest_dir to find manifest
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 13:46:30 +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
480c1bbb35 cleanup run_type_explorer()
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 12:43:17 +02:00
Nico Schottelius
73fa0e1ab7 path becomes context (+1 happy developer)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 11:51:21 +02:00
Renamed from lib/cdist/path.py (Browse further)