Darko Poljak
|
2505023387
|
Append requirement only if already not present
|
6 years ago |
Darko Poljak
|
797522f91e
|
Fix circular dep for CDIST_ORDER_DEPENDENCY
Fixes #756
|
6 years ago |
Darko Poljak
|
5480c22020
|
Adapt object_parameters before checking conflicting parameters.
|
6 years ago |
Darko Poljak
|
eb8922ebcd
|
Remove redundant log.error line.
|
7 years ago |
Darko Poljak
|
e6c5563a16
|
NoSuchTypeError -> InvalidTypeError
|
7 years ago |
Darko Poljak
|
f0dc21ec0c
|
__cdist_log_level=<log level int value>; __cdist_log_level_name=<log level name> (#574)
|
7 years ago |
Darko Poljak
|
3454da076f
|
Add -l/--log-level option. Honor __cdist_loglevel env var. (#572)
Add -l/--log-level option, __cdist_loglevel -> __cdist_log_level; honor __cdist_log_level env var
|
7 years ago |
Darko Poljak
|
57f15f9cce
|
Make __cdist_loglevel value more expressive. (#571)
|
7 years ago |
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.
|
8 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 |