Commit graph

62 commits

Author SHA1 Message Date
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
Nico Schottelius
11ba4640b4 disable unsupported iso - create /init - include support for another initial manifest
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2014-01-11 22:34:44 +01:00
Nico Schottelius
4fb55b8d92 various updates for preos
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2014-01-10 10:46:09 +01:00
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>
2014-01-10 00:04:46 +01:00
Nico Schottelius
65cab0d0e8 add "preos" subcommand to generate preos
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-11-28 14:18:24 +01:00
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>
2013-09-02 11:31:45 +02:00
Nico Schottelius
93f5ace932 clenaup logging in emulator, cleanup emulator in main script
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-09-02 10:49:11 +02:00
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>
2013-08-29 21:56:53 +02:00
Nico Schottelius
42bad3dd37 dest, not destination
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-28 16:46:35 +02:00
Nico Schottelius
e6feee14fb Merge branch 'enhance_cache'
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>

Conflicts:
	cdist/test/code/__init__.py
	cdist/test/config_install/__init__.py
	cdist/test/explorer/__init__.py
2013-08-28 15:43:03 +02:00
Nico Schottelius
200c15c536 remove debug, ++changes
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-27 12:46:00 +02:00
Nico Schottelius
74e003d29b +print cdist version on startup + exit_code = 2 for irq
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-21 18:52:35 +02:00
Nico Schottelius
10b27e63ca rename out_path -> out_dir for consistency
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-19 11:21:36 +02:00
Nico Schottelius
d1708c78b6 refactoring
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-19 01:38:28 +02:00
Nico Schottelius
eaf1721212 begin to migrate to '--output-base-path', shrink context
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-19 00:52:15 +02:00