Darko Poljak
|
f368539447
|
Some pylint cleaning.
|
7 years ago |
Darko Poljak
|
75fe3272b3
|
Add file locking for -j parallel execution.
|
7 years ago |
Darko Poljak
|
87fe52ea61
|
Default logging level is WARNING.
|
7 years ago |
Darko Poljak
|
314a931b84
|
Respect cdist log level in emulator.
|
7 years ago |
Darko Poljak
|
a722f3c634
|
3rd iteration of logging cleanup.
|
8 years ago |
Darko Poljak
|
127c05a882
|
2nd iteration of logging cleanup.
|
8 years ago |
Darko Poljak
|
248656b81f
|
First iteration of logging cleanup.
|
8 years ago |
Darko Poljak
|
d49af95d3c
|
Add warning message for faulty dependencies case.
|
8 years ago |
Darko Poljak
|
72001b237e
|
Remove relict comment.
|
8 years ago |
Darko Poljak
|
d96be90f26
|
Fix self.target_host
|
8 years ago |
Darko Poljak
|
dbcc94ab65
|
Add derived env vars for target hostname and fqdn.
|
9 years ago |
Darko Poljak
|
64efa04599
|
pep8
|
9 years ago |
Darko Poljak
|
92d96c14b9
|
Undo reqs conflict detection, continue appending new reqs.
|
9 years ago |
Darko Poljak
|
72345f5516
|
Make union of existing and new requirements instead of conflict error.
|
9 years ago |
Darko Poljak
|
bd9008794c
|
Conflicting requirements bugfix.
|
9 years ago |
Nico Schottelius
|
fa6e389fdd
|
cannot use False for object id, as it is being used for os.path.join() in object
Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
|
10 years ago |
Nico Schottelius
|
73c77dd2d3
|
Let core use random .cdist directory for objects
Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
|
10 years ago |
Daniel Heule
|
cfbc68aa11
|
bugfix if both override and order is specified
|
11 years ago |
Daniel Heule
|
60c53e213c
|
testcases emulator.OverrideTestCase, with some minor bugfixes to make
test work as expected ...
|
11 years ago |
Daniel Heule
|
52e2017d8f
|
CDIST_ALLOW_OVERRIDE -> CDIST_OVERRIDE as requested by nico
|
11 years ago |
Daniel Heule
|
51afca5336
|
Implement lastest suggestions from nico, rename ENV Variable to
CDIST_ORDER_DEPENDENCY
|
11 years ago |
Nico Schottelius
|
34f2f7f038
|
setting up CDIST_ALLOW_OVERRIDE to any value is ok - do not depend on true/yes/ja
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
11 years ago |
Daniel Heule
|
5fbac8d0ba
|
forgot the : after the else ...
|
11 years ago |
Daniel Heule
|
197fabf40a
|
added some ideas from asteven and a bit more description about the order
in the manpage
|
11 years ago |
Daniel Heule
|
4ef55ef13f
|
allow object overrides with CDIST_ALLOW_OVERRIDE=true
|
11 years ago |
Nico Schottelius
|
ac0c88fe9f
|
remove some old typos and omit type details that follow anyway
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
11 years ago |
Nico Schottelius
|
ce73cef457
|
explain that a requirement caused the error, otherwise you search until you die
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
11 years ago |
Daniel Heule
|
61aec12ba1
|
Try2 to make cdist honor the manifest order,
this implementation has some more lines of code,
but no collision with the require variable.
|
11 years ago |
Daniel Heule
|
824381e6ca
|
new special value require="CDIST_HONOR_MANIFEST_ORDER"
which tells cdist to execute types in the manifest order
|
11 years ago |
Steven Armstrong
|
54815e2b29
|
implement cdist install
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
11 years ago |
Steven Armstrong
|
08762330e1
|
default to None, not empty list
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
11 years ago |
Steven Armstrong
|
39f65d2ef7
|
leave conversion of list to underlying fsproperty
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
11 years ago |
Steven Armstrong
|
8b0eb5766a
|
bugfix: handle non-existent default
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
11 years ago |
Steven Armstrong
|
67f61eb7ec
|
make default values for optional_multiple parameters work
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
11 years ago |
Steven Armstrong
|
fc40a40ae0
|
implement configurable default values for parameters
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
11 years ago |
Nico Schottelius
|
73338c330b
|
record the type name, if there is no such type
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
11 years ago |
Nico Schottelius
|
93f5ace932
|
clenaup logging in emulator, cleanup emulator in main script
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
11 years ago |
Steven Armstrong
|
3de9b869ac
|
there is no such thing as cdist install in master
remove all traces of it to prevent the ongoing merge issues when using the real thing
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
11 years ago |
Nico Schottelius
|
136ddc05b5
|
context based changes
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
11 years ago |
Nico Schottelius
|
866645679a
|
throw a better exception when environment variables are missing
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
2f5de23ae9
|
out_path -> base_path
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Steven Armstrong
|
7205cd5ecf
|
remove that crappy old singleton object_id thingy
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
12 years ago |
Nico Schottelius
|
3d73cd2fd3
|
better debugging for wrong type, fix emulator tests, fixes #176
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
2fe647a1f7
|
Revert "implement before/after to declare dependencies and deprecate require"
Comment from asteven:
Some problems showed up while updating the docs and tests.
You should revert the merge for now.
This reverts commit 84770b9ef2 .
|
12 years ago |
Steven Armstrong
|
84770b9ef2
|
implement before/after to declare dependencies and deprecate require
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
--whitespace
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
12 years ago |
Steven Armstrong
|
6d430524f1
|
binary all the way, fixes issue #138
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
12 years ago |
Steven Armstrong
|
6c685e61d5
|
fixes #126
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
12 years ago |
Nico Schottelius
|
2fca87eda8
|
++comment
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
12 years ago |
Nico Schottelius
|
a498330bd3
|
remove _read_stdin and open stdin file in non-binary mode
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
12 years ago |
Nico Schottelius
|
45d5e4719a
|
read from stdin using read, not buffer.read() to be compatible with other IO streams
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
12 years ago |