Darko Poljak
519eb60664
Fix exec/{local,remote} tests. Add exec/local test to make test.
7 years ago
Darko Poljak
bdee7273af
Configfile ( #559 )
...
Add cdist configuration/config file support.
7 years ago
Darko Poljak
2a9bd77550
Merge custom cache path pattern from beta branch.
8 years ago
Darko Poljak
dbcc94ab65
Add derived env vars for target hostname and fqdn.
9 years ago
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.
9 years ago
Darko Poljak
64efa04599
pep8
9 years ago
Darko Poljak
e4cbb382ab
PATH resolution for true/false.
9 years ago
Darko Poljak
3062421cf5
Fix bug with parallel hosts operation and specified output path.
9 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
528901bdee
update a lot of tests for new exec.local
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
12 years ago
Nico Schottelius
69a3844332
fix some tests and fix home_dir lookup
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
12 years ago
Nico Schottelius
1177286d4e
cleanups of tests (especially exec.local)
...
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
d4e715f052
close file handles opened with tempfile.mkstemp
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
97ab6effa4
introduce new cdist.test.CdistTestCase base class which handles common tasks
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
e715dbb801
update test: dont return command output by default
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
48eb996a2e
remove useless filename prefix
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
67de9d8c73
tests for Local paths
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
a254e1f31e
return output of command execution as string instead of bytestring
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
117ccf94d3
--debug
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
985ed2669a
local code execution and tests
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
7da3a3c305
remote code execution and tests
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago