Darko Poljak
0c57b3083e
Fix getting loggers.
6 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
bdee7273af
Configfile ( #559 )
...
Add cdist configuration/config file support.
7 years ago
Darko Poljak
f368539447
Some pylint cleaning.
7 years ago
Darko Poljak
e2a1519332
Merge inventory from beta branch.
8 years ago
Steven Armstrong
f6e1174adb
start moving info log messages to verbose
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
8 years ago
Darko Poljak
cef1d215b2
Finally remove deprecated -d/--debug option.
8 years ago
Darko Poljak
a722f3c634
3rd iteration of logging cleanup.
8 years ago
Darko Poljak
248656b81f
First iteration of logging cleanup.
8 years ago
Darko Poljak
c63ab44c9c
Define better warning facility.
8 years ago
Darko Poljak
2999f12698
chmod +x
8 years ago
Darko Poljak
d0f5d2c459
ugly -> bad
8 years ago
Darko Poljak
4514bf1bd4
greatest -> highest
8 years ago
Darko Poljak
b819507415
Better document -v option.
8 years ago
Darko Poljak
e7c3c15724
Deprecate -d, make -v log level counter.
8 years ago
Darko Poljak
75e85379f6
Order subcommands alphabetically.
8 years ago
Darko Poljak
750f90db4c
Make install command beta.
8 years ago
Darko Poljak
acf94abe26
pep8
8 years ago
Darko Poljak
962839eb69
Fix beta check.
8 years ago
Darko Poljak
5f825d1da9
Fix check_beta error if cmd is not in beta args dict.
8 years ago
Darko Poljak
adac0113c5
Order options lexicographicaly.
8 years ago
Darko Poljak
fdf6a6570c
Check for beta in scripts/cdist.
8 years ago
Darko Poljak
1c07b63f1d
Add -b/--enable-beta option for enabling beta functionalities.
8 years ago
Darko Poljak
a9001fa9ce
Additional note for SHELL: should be POSIX compatible shell.
8 years ago
Darko Poljak
90454c4e6b
Update jobs option description.
8 years ago
Darko Poljak
a4c49201c0
Add jobs option for parallel execution, global explorers first.
8 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
8246642a45
Bugfix: ssh mux controlpath too long on some envs.
9 years ago
Darko Poljak
1b37b9fbb1
Minor sentence fixes.
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
Darko Poljak
8191ea91e1
Fix remote exec bug and bug with save_cache and ssh mux socket file.
9 years ago
Darko Poljak
0e2e90322b
rmtree only if it is temp dir. If user specifies out_path then do not rmtree it.
9 years ago
Darko Poljak
f6a5f56098
Use the same dir for ssh mux socket and Local base_path.
9 years ago
Darko Poljak
4318d72524
No subprocess if user enters remote_exec/copy.
9 years ago
Darko Poljak
d329db05e1
Apply CDIST_REMOTE_EXEC/COPY env vars.
9 years ago
Darko Poljak
d0d0c258d6
Add ssh mux options by default if available.
9 years ago
Darko Poljak
4851197de2
Reseting to original manually (limited connect).
...
Limited connectivity, but have extra time, so reseting this to original.
This new feature will be implemented in separate branch.
9 years ago
Darko Poljak
b4ac23b4f8
Default ssh mux options fixes.
9 years ago
Darko Poljak
215e58eb38
Inspect and add by default ssh multiplexing options.
9 years ago
Nico Schottelius
79cfdf578d
remove obsolete '--additional-manifest' parameter
...
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
82612bc312
config already inherits from loglevel parser
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
11 years ago
Steven Armstrong
f5aad522cc
dont add help to 2 parsers
...
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
Nico Schottelius
11ba4640b4
disable unsupported iso - create /init - include support for another initial manifest
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
11 years ago
Nico Schottelius
4fb55b8d92
various updates for preos
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
11 years ago
Nico Schottelius
8af1add2a6
preos: seperate parameters, create remote_exec, remote_copy and manifest on the fly
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
11 years ago
Nico Schottelius
65cab0d0e8
add "preos" subcommand to generate preos
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
11 years ago
Nico Schottelius
81fae9325f
cdist is written with a small c ... and the error message being made nicer
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
11 years ago