Commit graph

76 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
799ec72369 Implement preos 2019-09-20 07:15:37 +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
Nico Schottelius
f3bf1b3ea1 merge preos and install
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2014-01-20 09:47:45 +01:00
Nico Schottelius
79cfdf578d remove obsolete '--additional-manifest' parameter
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2014-01-20 09:01:04 +01:00
Steven Armstrong
2f70a0d70e need a way to set remote.base_path from the command line
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2014-01-15 13:43:24 +01:00
Steven Armstrong
82612bc312 config already inherits from loglevel parser
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2014-01-15 13:43:23 +01:00
Steven Armstrong
f5aad522cc dont add help to 2 parsers
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2014-01-15 13:43:23 +01:00
Steven Armstrong
54815e2b29 implement cdist install
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2014-01-15 13:43:23 +01:00