Nico Schottelius
f8868349e6
cdist_object.type => cdist_object.cdist_type
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
13 years ago
Nico Schottelius
4be37f6e93
begin rename Object => CdistObject
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
13 years ago
Steven Armstrong
252ae5ea56
new feature: dependency resolver
13 years ago
Steven Armstrong
6dd1465aa8
--AttributeError
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
e1cf8d094b
--AttributeError
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
ae23f1576f
--TypeError
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
f95ee8062f
--SyntaxError
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Nico Schottelius
b3337a18b9
in theory catch error when requiring an undefined object (in practise not)
...
Error message trying to fix:
ERROR: [Errno 2] No such file or directory: '/home/users/nico/.tmp/tmptvy1ic/out/object/__localch_yum_repos/singleton/.cdist/state'
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
13 years ago
Nico Schottelius
e18bd97c86
SUCESSFUL is very helpful to grep for :-)
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
13 years ago
Steven Armstrong
81e4c0a418
move run_*_explorers from config_install to core.explorer
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Nico Schottelius
c189bd9daf
resort output in object_run
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
13 years ago
Steven Armstrong
ca1ef28fe1
change order of log.info
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
e9541b2a2a
== is not = :-/
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
de8a09b45d
++FIXME
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
9156d2f5ac
trust in telmich we do (or should)
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
c45c9cd702
dont re-run already fulfilled requirements
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
24bf7369d9
++info
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
50eead577c
+missing import
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
8cfc16cd76
finish migration to cdist_object.state
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
6734ff693f
fix object_prepare to use object.state
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Nico Schottelius
e98272e0c5
move log.info down
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
13 years ago
Nico Schottelius
0e7c532870
add new state code, begin to detect circular dependencies
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
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
Nico Schottelius
420b6aeae7
ensure object is not ran twice
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
13 years ago
Nico Schottelius
950424d478
move log output into correct function, also log object code run/gencode
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
13 years ago
Nico Schottelius
42e1c21f43
print progress output in info level for object prepare
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
13 years ago
Nico Schottelius
00a1f1eeb9
++ more host prefixing log code
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
13 years ago
Nico Schottelius
db6fdeebfe
log.info for global explorers (may also take some time)
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
13 years ago
Nico Schottelius
ef1ebbd0b7
remove senseless message superseeded by new logging prefix
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
13 years ago
Steven Armstrong
9f231a9ce7
suffix cache path with target_host
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
1c1cff37e3
--debug
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
74f4ec2f5d
resolve required objects using new object_from_name method
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
cf6139504b
++debug
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
94724427fa
++debug
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
6271e27eb5
transfer object parameter before running type explorers
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
d37ca88752
+run_type_explorers, minor fixes
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
08ffaf61f5
-legacy code
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
fced07634a
initial rewrite of config_install
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Nico Schottelius
79ad04ebe5
-ws
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
13 years ago
Nico Schottelius
143939a6f7
do not change current env
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
13 years ago
Nico Schottelius
c305735ed5
begin cleanup/reordering in config_install
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
13 years ago
Nico Schottelius
62383eed8d
++stuff
...
Signed-off-by: Nico Schottelius <nico@loch.schottelius.org>
13 years ago
Nico Schottelius
09209e47d6
ideas for explorer run
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
13 years ago
Nico Schottelius
e8f7fe3faa
intermediate commit for cdist state
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
13 years ago
Nico Schottelius
9f49f99294
use self.log for correct logger
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
13 years ago
Nico Schottelius
b7824c3ead
move explorer out dir creation into Explorer class
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
13 years ago
Nico Schottelius
d95d195b40
have object seave its explorer outputs
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
13 years ago
Nico Schottelius
794a11d866
%s/\(self.\)\([a-z]*_path\)/\1context.\2/g
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
13 years ago
Nico Schottelius
588731661e
use context in explorer
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
13 years ago
Nico Schottelius
dbd31252a8
remove CODE_HEADER
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
13 years ago