Commit graph

82 commits

Author SHA1 Message Date
Darko Poljak
59b98091d7 Adapt; update docs and code style 2020-06-13 13:44:01 +02:00
Darko Poljak
eec7ab8e45 Increase minimum supported Python version to 3.5 2020-06-12 06:08:56 +02:00
Darko Poljak
41e59a748d Fix newly found shellcheck issues 2020-04-22 23:24:34 +02:00
Darko Poljak
799ec72369 Implement preos 2019-09-20 07:15:37 +02:00
Darko Poljak
34eec3c214 Add cdist-new-type helper scrpt 2019-05-20 18:10:35 +02:00
Darko Poljak
7a68df48f1 Add missing delimiter argument 2019-04-11 14:10:18 +02:00
Darko Poljak
d11ac7dda4 Rename debug-dump.sh to cdist-dump 2019-04-11 13:56:03 +02:00
Darko Poljak
671bb82a46 Fix shellcheck issues 2019-04-09 22:44:40 +02:00
Darko Poljak
9cd95f12dc Add debug dump script 2019-04-09 10:41:00 +02:00
Darko Poljak
0c57b3083e Fix getting loggers. 2018-09-23 21:38:03 +02:00
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
2017-09-09 21:17:29 +02:00
Darko Poljak
bdee7273af Configfile (#559)
Add cdist configuration/config file support.
2017-08-30 23:02:17 +02:00
Darko Poljak
f368539447 Some pylint cleaning. 2017-08-22 10:58:30 +02:00
Darko Poljak
e2a1519332 Merge inventory from beta branch. 2017-07-20 22:04:44 +02:00
Steven Armstrong
f6e1174adb start moving info log messages to verbose
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2017-07-04 23:49:43 +02:00
Darko Poljak
cef1d215b2 Finally remove deprecated -d/--debug option. 2017-07-04 23:49:43 +02:00
Darko Poljak
a722f3c634 3rd iteration of logging cleanup. 2017-07-04 23:49:43 +02:00
Darko Poljak
248656b81f First iteration of logging cleanup. 2017-07-04 23:49:43 +02:00
Darko Poljak
c63ab44c9c Define better warning facility. 2017-07-04 23:49:43 +02:00
Darko Poljak
2999f12698 chmod +x 2016-12-03 18:29:10 +01:00
Darko Poljak
d0f5d2c459 ugly -> bad 2016-12-03 18:24:37 +01:00
Darko Poljak
4514bf1bd4 greatest -> highest 2016-12-01 09:14:51 +01:00
Darko Poljak
b819507415 Better document -v option. 2016-11-30 23:25:31 +01:00
Darko Poljak
e7c3c15724 Deprecate -d, make -v log level counter. 2016-11-30 23:19:53 +01:00
Darko Poljak
75e85379f6 Order subcommands alphabetically. 2016-10-27 18:34:24 +02:00
Darko Poljak
750f90db4c Make install command beta. 2016-10-13 21:35:41 +02:00
Darko Poljak
acf94abe26 pep8 2016-10-13 21:24:29 +02:00
Darko Poljak
cca6693b2e Merge install feature from 4.0-pre-not-stable. 2016-10-13 21:16:59 +02:00
Darko Poljak
962839eb69 Fix beta check. 2016-08-17 20:23:22 +02:00
Darko Poljak
5f825d1da9 Fix check_beta error if cmd is not in beta args dict. 2016-08-15 18:04:57 +02:00
Darko Poljak
adac0113c5 Order options lexicographicaly. 2016-08-15 16:37:38 +02:00
Darko Poljak
fdf6a6570c Check for beta in scripts/cdist. 2016-08-15 16:01:39 +02:00
Darko Poljak
1c07b63f1d Add -b/--enable-beta option for enabling beta functionalities. 2016-08-15 14:20:35 +02:00
Darko Poljak
f858191976 Merge remote-tracking branch 'ungleich/master' into parallel-global-explorers-execution 2016-08-14 22:27:39 +02:00
Darko Poljak
a9001fa9ce Additional note for SHELL: should be POSIX compatible shell. 2016-08-14 20:10:41 +02:00
Darko Poljak
90454c4e6b Update jobs option description. 2016-08-12 21:34:10 +02:00
Darko Poljak
a4c49201c0 Add jobs option for parallel execution, global explorers first. 2016-08-11 23:54:31 +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
8246642a45 Bugfix: ssh mux controlpath too long on some envs. 2016-06-06 21:31:05 +02:00
Darko Poljak
1b37b9fbb1 Minor sentence fixes. 2016-05-25 07:25:21 +02:00
Darko Poljak
fa5175fee5 Allow both hosts sources: command line args and file. 2016-05-22 09:45:08 +02:00
Darko Poljak
4fce4a631c Add -f option for reading hosts from file or stdin. 2016-05-22 09:22:39 +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
0e2e90322b rmtree only if it is temp dir. If user specifies out_path then do not rmtree it. 2016-03-27 10:03:12 +02:00
Darko Poljak
f6a5f56098 Use the same dir for ssh mux socket and Local base_path. 2016-03-26 16:40:41 +01:00
Darko Poljak
4318d72524 No subprocess if user enters remote_exec/copy. 2016-03-22 08:41:51 +01:00
Darko Poljak
d329db05e1 Apply CDIST_REMOTE_EXEC/COPY env vars. 2016-03-18 23:52:24 +01:00
Darko Poljak
d0d0c258d6 Add ssh mux options by default if available. 2016-03-18 23:34:02 +01:00
Darko Poljak
b4ac23b4f8 Default ssh mux options fixes. 2016-03-10 20:40:37 +01:00
Darko Poljak
215e58eb38 Inspect and add by default ssh multiplexing options. 2016-03-10 20:20:41 +01:00