Darko Poljak
ca3a8ddf67
no clear() in python < 3.3; if only one then do it sequentially
8 years ago
Darko Poljak
1952d43073
Initial try for parallelization.
8 years ago
Darko Poljak
341de216a6
Fix missing vars.
8 years ago
Darko Poljak
6c1b215db8
Begin parallelizing object prepare and run.
8 years ago
Darko Poljak
e6fc74c081
ugly -> bad
8 years ago
Darko Poljak
8c53ce78f5
Started the good, the bad and the ugly - code cleanup.
8 years ago
Darko Poljak
9268062de5
Fix target_host vars in Code.
8 years ago
Darko Poljak
74652cec13
Write more informative warning messages.
8 years ago
Darko Poljak
b5262c850e
Exit cleanly in case of non UTF-8 file.
9 years ago
Darko Poljak
7f1e41f769
Move hostfile line processing to new method.
9 years ago
Darko Poljak
7aa4b2d40a
Support comments in hostfile, skip empty lines.
9 years ago
Darko Poljak
680806ce76
Fix getting host_name and host_fqdn.
9 years ago
Darko Poljak
2fb551131e
Fix error when non-existing host is used.
9 years ago
Darko Poljak
fdf6a6570c
Check for beta in scripts/cdist.
9 years ago
Darko Poljak
1c07b63f1d
Add -b/--enable-beta option for enabling beta functionalities.
9 years ago
Darko Poljak
a4c49201c0
Add jobs option for parallel execution, global explorers first.
9 years ago
Darko Poljak
45298b810c
Add more comments.
9 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
fa5175fee5
Allow both hosts sources: command line args and file.
9 years ago
Darko Poljak
4fce4a631c
Add -f option for reading hosts from file or stdin.
9 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
Nico Schottelius
0cf170b18e
prettier print when requirements are broken
...
Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
10 years ago
Nico Schottelius
c363fc24de
begin to make OBJECT_MARKER dynamic
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
11 years ago
Nico Schottelius
16d51b3cf1
backport ignoring install types in config mode from install_integration branch
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
11 years ago
Steven Armstrong
2f70a0d70e
need a way to set remote.base_path from the command line
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
11 years ago
Steven Armstrong
4ace4348a7
filter out install objects when running config
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
11 years ago
Steven Armstrong
54815e2b29
implement cdist install
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
11 years ago
Steven Armstrong
fcfd2d0a3c
refactor so that there is no interaction between code-local and code-remote
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
11 years ago
Steven Armstrong
a3dea70a97
Revert "first generate and execute *-local, then *-remote"
...
This reverts commit cf22499538266b1b4fac1694254edfd8ba9be68d.
11 years ago
Steven Armstrong
12ef3ca4d2
first generate and execute *-local, then *-remote
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
11 years ago
Steven Armstrong
589d50bdba
make --dry-run work, fixes #199
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
11 years ago
Nico Schottelius
760b7e7afb
++changes(2.3.2)
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
12 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>
12 years ago
Nico Schottelius
2403fc59ee
refactor commandline: merge into its own class (and add first shell code)
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
12 years ago
Nico Schottelius
c9f728e073
lib/cdist => cdist (pypi)
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
12 years ago
Nico Schottelius
ea146c88e7
cleanup config
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
13 years ago
Nico Schottelius
71ed728b4a
move parallel code to main binary, allow branching out on install and config
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
13 years ago
Nico Schottelius
e5e2fb866c
++fixes
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
13 years ago
Nico Schottelius
ca5361afc1
remote cdist.path, use base_dir
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
13 years ago
Nico Schottelius
d07a191867
add logger to config
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
13 years ago
Nico Schottelius
60b5f8783c
revert changes from upcoming install branch
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
13 years ago
Nico Schottelius
26278b1e32
expose target host from config
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
13 years ago
Nico Schottelius
5a7e4b2f32
quiet ssh/scp
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
13 years ago
Nico Schottelius
df630e1fdf
user remote_prefix=True now
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
13 years ago
Nico Schottelius
ecc4fc10d7
setup __remote_exec and __remote_copy variables
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
13 years ago
Nico Schottelius
b3f914f6f6
create base module for install and config
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
13 years ago
Nico Schottelius
26c0d5d9aa
upcoming changes for 2.0.3
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
13 years ago
Nico Schottelius
d8da7635de
use warning loglevel by default
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
13 years ago