Commit graph

97 commits

Author SHA1 Message Date
Darko Poljak
f858191976 Merge remote-tracking branch 'ungleich/master' into parallel-global-explorers-execution 2016-08-14 22:27:39 +02:00
Darko Poljak
5f436f21b8 Transfer and run global explorers in parallel. 2016-08-12 21:14:56 +02:00
Darko Poljak
a4c49201c0 Add jobs option for parallel execution, global explorers first. 2016-08-11 23:54:31 +02:00
Darko Poljak
8d6e0760dc Fix errors in remote.py unit test. 2016-08-11 21:55:20 +02:00
Darko Poljak
dbcc94ab65 Add derived env vars for target hostname and fqdn. 2016-08-10 23:56:56 +02:00
Darko Poljak
6f28fc2db2 Fix ssh mux socket file error.
ssh ControlPath socket file needs to be unique for each host.
To avoid using ssh ControlPath option placeholders move socket file
to host's temp directory. Since each host has unique temp
directory then, although file name for socket file is fixed, its path
is unique.
2016-07-23 16:13:59 +02:00
Darko Poljak
64efa04599 pep8 2016-07-05 20:44:24 +02:00
Darko Poljak
72345f5516 Make union of existing and new requirements instead of conflict error. 2016-06-30 20:37:08 +02:00
Darko Poljak
a12b74b2f5 Resolve conflict. 2016-06-22 12:56:53 +02:00
Darko Poljak
0049b62cca Add files conf subdirectory for static files. 2016-06-11 12:02:13 +02:00
Darko Poljak
bd9008794c Conflicting requirements bugfix. 2016-06-10 07:50:07 +02:00
Darko Poljak
e4cbb382ab PATH resolution for true/false. 2016-04-05 20:23:13 +02:00
Darko Poljak
3062421cf5 Fix bug with parallel hosts operation and specified output path. 2016-04-04 08:03:54 +02:00
Darko Poljak
8191ea91e1 Fix remote exec bug and bug with save_cache and ssh mux socket file. 2016-04-01 20:42:32 +02:00
Darko Poljak
1dfd6671e7 Fix #416: error for non-posix remote shell. Fix remote.py test errors. 2016-03-29 19:28:43 +02:00
Nico Schottelius
b0321895a7 fix all tests
Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
2015-03-05 19:20:06 +01:00
Nico Schottelius
b51e9daccc fix all tests besides one
Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
2015-03-05 18:51:25 +01:00
Nico Schottelius
d08c29b581 fix most test cases broken by no-dot-cdist change
Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
2015-03-05 18:32:47 +01:00
Antoine Catton
9717d5d928 Add test case: what if there's a directory in defaults
The goal of the directory name is to be before foo and bar
2015-01-04 12:43:57 -07:00
Steven Armstrong
f82a6224f2 use positional arguments in favour of keyword arguments for backwards compatibility with older python
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2014-02-13 21:05:37 +01:00
Steven Armstrong
46459053f4 use posix -L in favour of longopts
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2014-02-13 21:02:18 +01:00
Nico Schottelius
4031209f7b Merge branch 'bugfix_issue_102' of git://github.com/dheule/cdist 2014-02-11 22:30:24 +01:00
Daniel Heule
6a5f908269 yep, dryrun option has now a unittest, was hard to work out ... 2014-02-11 21:17:19 +01:00
Nico Schottelius
dae43b4489 Merge branch 'feature_unittest_CDIST_ORDER_DEPENDENCY' of https://github.com/dheule/cdist 2014-02-11 15:31:56 +01:00
Daniel Heule
e29255b9f2 add an unittest for CDIST_ORDER_DEPENDENCY 2014-02-11 15:20:26 +01:00
Daniel Heule
a5426ff4b5 completed copyright infos ... 2014-02-09 17:43:31 +01:00
Daniel Heule
2dd2f5593f bugfixes for issue 161 and FIXME: also check that there is no object ID
when type is singleton?
2014-02-09 17:10:43 +01:00
Daniel Heule
60c53e213c testcases emulator.OverrideTestCase, with some minor bugfixes to make
test work as expected ...
2014-02-07 14:24:12 +01:00
Daniel Heule
f163b32720 first try of a test 2014-02-07 13:28:22 +01:00
Daniel Heule
717e21da6c initial update for override unittests 2014-02-07 00:28:02 +01:00
Nico Schottelius
a5fc3f5002 remove changed attribute of an object - was never used and will never be used
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-12-04 21:29:56 +01:00
Nico Schottelius
ac5fa7cd64 integrate messaging into cdist
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-11-26 01:01:30 +01:00
Steven Armstrong
5cc894e1e9 only use a single space to distinguish between the actual __target_host and the same used as part of the path; fixes #206
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2013-10-03 09:55:14 +02:00
Steven Armstrong
472198419a don't assume first argument to be -r, fixes #200
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2013-09-12 22:28:29 +02:00
Nico Schottelius
d0dfe8f834 Merge branch 'feature/default_parameters' of https://github.com/asteven/cdist 2013-09-05 13:44:32 +02:00
Nico Schottelius
98cdc6c139 fix tests so that the explorers are not changed while running tests
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-09-05 13:02:39 +02:00
Nico Schottelius
33559fad67 add comments to some tests
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-09-04 23:33:52 +02:00
Steven Armstrong
1927d4852a add tests for configurable default values for parameters
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2013-09-04 22:11:08 +02:00
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>
2013-08-29 21:56:53 +02:00
Nico Schottelius
2286acc6f2 fix some more tests for the next release
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-28 15:44:52 +02:00
Nico Schottelius
e6feee14fb Merge branch 'enhance_cache'
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>

Conflicts:
	cdist/test/code/__init__.py
	cdist/test/config_install/__init__.py
	cdist/test/explorer/__init__.py
2013-08-28 15:43:03 +02:00
Nico Schottelius
136ddc05b5 context based changes
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-28 15:39:17 +02:00
Nico Schottelius
18c5e60ab1 --context in tests
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-28 15:34:52 +02:00
Nico Schottelius
975b93c20a fix all tests -> back to normal
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-19 13:37:40 +02:00
Nico Schottelius
b527479620 refactor out_path -> base_path
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-19 13:35:03 +02:00
Nico Schottelius
2f5de23ae9 out_path -> base_path
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-19 12:03:25 +02:00
Nico Schottelius
8298bb0bf5 fix test cdist.test.config_install.ConfigInstallRunTestCase
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-19 11:33:44 +02:00
Nico Schottelius
c1441fc676 enhance singleton testing
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-07-10 17:21:38 +02:00
Nico Schottelius
8ab760ad90 document unit test
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-07-10 17:02:19 +02:00
Steven Armstrong
7205cd5ecf remove that crappy old singleton object_id thingy
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2013-07-10 16:31:58 +02:00