Darko Poljak
|
6acf6f64dc
|
Add timestamp to log messages.
|
6 years ago |
Darko Poljak
|
08bc38dd0f
|
Log ERROR to stderr and rest to stdout. (#576)
|
7 years ago |
Darko Poljak
|
c63ab44c9c
|
Define better warning facility.
|
8 years ago |
Darko Poljak
|
64efa04599
|
pep8
|
9 years ago |
Nico Schottelius
|
74e003d29b
|
+print cdist version on startup + exit_code = 2 for irq
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
d1708c78b6
|
refactoring
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
eaf1721212
|
begin to migrate to '--output-base-path', shrink context
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
a7fe8b4ed2
|
port context -> remote
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
f79727559a
|
++logs and migrate context -> local
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
83c981f477
|
begin to implement -C --cache-dir
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Steven Armstrong
|
56b6c95ed4
|
implement conf-dir from CDIST_PATH environment variable
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
12 years ago |
Nico Schottelius
|
aedb3669c7
|
print hint if initial manifest is missing
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
12 years ago |
Nico Schottelius
|
c47d0fae1c
|
fix autorequire test case and fix cdist_base_path test assignment
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
12 years ago |
Nico Schottelius
|
6ecfb28d93
|
name parameter correctly add_conf_dirs
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
12 years ago |
Nico Schottelius
|
6771a13758
|
pass exec_path from context to local, making it obsolete to manually add the argument to the _link_types_for_emulator
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
12 years ago |
Nico Schottelius
|
e41aae041a
|
fix cache_dir syntax error
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
12 years ago |
Nico Schottelius
|
b0e8c23078
|
initial change to support multiple conf_dirs
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
12 years ago |
Nico Schottelius
|
c9f728e073
|
lib/cdist => cdist (pypi)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
12 years ago |
Steven Armstrong
|
21b85e410e
|
bugfix: its a method, not a function
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Nico Schottelius
|
9f319ae121
|
support passing remote_{exec, copy} to context
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
13 years ago |
Steven Armstrong
|
18f08d893c
|
export defaults for __remote_{exec,copy}
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
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>
|
13 years ago |
Steven Armstrong
|
c24b20de08
|
make nico happy
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Steven Armstrong
|
eac3cc31c4
|
export __debug in environment
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Steven Armstrong
|
d2bbd1d14c
|
fix imports
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Steven Armstrong
|
fec3cca3b0
|
delegate path handling to local and remote
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Nico Schottelius
|
f0852209f0
|
save debug in context
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
73f1190d55
|
cleanup context internally
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
dc21405583
|
use target host as key for logger
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
4c29d9839b
|
configure logger based on hostname
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
d4f6328eef
|
finish context
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
0397e77a3e
|
cleanup context
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
5bd23d0605
|
template for context (REDO)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
d9d9e6bff6
|
move back transfer stuff to exec
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
cfb74897c4
|
write down (almost?) all tests for config_install
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
2c5b064b00
|
++todo = remove CODE_HEADER in generated code
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
5443db97c4
|
always setup __debug if debug is set
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
e72ad1f7cb
|
emulator not needed in config_install anymore
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
94cca2e537
|
prepend hostname in emulator as well
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
92d3925b1c
|
add filter to prepend hostname in config_install
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
35bfa2fcdc
|
finish merge of context and config_install
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
c81a2925b8
|
accept exec_path, setup__target_host
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
7823d0c997
|
merge context back into config (it is in fact the same idea)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
56e1fc9eb8
|
type explorer should run with remote base as well :-)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
e10ebeadf8
|
BUGFIX: export global explorer with path from remote
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
11a8379c75
|
+comment
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
d21126189c
|
indent/cleanup
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
d32aa37fba
|
cleanup context
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
073717e07e
|
some more relative to absolute path changes
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
b5c01f7354
|
update code to use new _path from object
and type
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |