Commit graph

25 commits

Author SHA1 Message Date
Nico Schottelius
c9f728e073 lib/cdist => cdist (pypi)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-25 17:21:58 +02:00
Nico Schottelius
612fb4cb7b fix type and add fixme
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-05-22 17:27:38 +02:00
Nico Schottelius
1b8b54f84f use os.umask locally
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-05-22 17:21:58 +02:00
Nico Schottelius
64bb1741aa cleanup local
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-15 17:05:22 +01:00
Nico Schottelius
ab48a72ce1 return results from run()
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-15 16:25:18 +01:00
Nico Schottelius
a4882e7e30 remove useless script printing and reuse run() method
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-15 16:17:49 +01:00
Nico Schottelius
91ecfa7d3f back to 100% tests working
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-12 01:27:25 +01:00
Steven Armstrong
bf13325303 if env is not given, os.environ is used -> need to also do that
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-11-18 14:56:59 +01:00
Steven Armstrong
98dec302a6 export __target_host for use in __remote_{copy,exec} scripts
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-11-18 14:44:32 +01:00
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
Nico Schottelius
3883fe4247 raise cdist error instead of oserror
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-16 00:12:32 +02:00
Nico Schottelius
3f76f03239 return full command only in local mode
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-15 00:10:35 +02:00
Steven Armstrong
fb2a3cb06e Merge remote-tracking branch 'telmich/master' 2011-10-14 23:52:51 +02:00
Steven Armstrong
b5b7d8e727 add missing return_output=True argument when fetching script content
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-14 23:52:05 +02:00
Nico Schottelius
9223663136 CLEANUP: return flat name, not python list to user
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-14 23:51:01 +02:00
Steven Armstrong
ab1d3d16f1 implement: dont return command output by default
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-14 15:51:00 +02:00
Steven Armstrong
99ffda3cdf always create global_explorer_out_path
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-13 17:04:33 +02:00
Steven Armstrong
12784c8bd8 +FIXME
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-13 16:26:07 +02:00
Steven Armstrong
8545221787 consistent naming: /object_base_path/object_path/
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-13 00:16:30 +02:00
Steven Armstrong
1d85d10f4f consistent naming: /type_base_path/type_path/
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-13 00:16:02 +02:00
Steven Armstrong
a254e1f31e return output of command execution as string instead of bytestring
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-12 17:12:22 +02:00
Steven Armstrong
d2878e931e /Remote/Local/
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-12 16:50:21 +02:00
Steven Armstrong
5f358a5ef1 move link_emulator to local
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-12 16:46:54 +02:00
Steven Armstrong
424c060934 +FIXME
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-12 15:21:25 +02:00
Steven Armstrong
985ed2669a local code execution and tests
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-12 15:17:06 +02:00