Commit graph

348 commits

Author SHA1 Message Date
Nico Schottelius
be3080b247 __cdist_exit_err, not __exit_err
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-20 22:42:00 +01:00
Nico Schottelius
69fc63df1e export __target_user to non-core
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-20 02:44:31 +01:00
Nico Schottelius
2830e2e894 -very verbose debug
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-20 02:12:35 +01:00
Nico Schottelius
6800bbff10 call new name in requirement block
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-20 02:01:23 +01:00
Nico Schottelius
c7ccedd463 DO NOT DO WHILE READ LOOP WITH SSH
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-20 02:01:02 +01:00
Nico Schottelius
0d4f2a6c4b use __cdist_abs_mydir instead of which
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-20 00:31:34 +01:00
Nico Schottelius
6f480810f3 Update to 1.3.0
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-20 00:02:44 +01:00
Nico Schottelius
20e4e73bcd fixup cdist-code-run-all and remove obsolete code
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-19 23:17:40 +01:00
Nico Schottelius
418c3db23e remove almost obsolete bin/cdist-remote-code-run-all
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-19 23:15:55 +01:00
Nico Schottelius
1099c55c9a args==3
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-19 23:14:58 +01:00
Nico Schottelius
8b43913366 include local+remote run in bin/cdist-code-run-all
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-19 23:14:48 +01:00
Nico Schottelius
1785f5acd0 add local/remote code run capability
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-19 23:12:49 +01:00
Nico Schottelius
6f79f01206 cdist-remote-code-run is now also locally used: name it cdist-code-run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-19 23:01:35 +01:00
Nico Schottelius
4368e00c57 save generated code in its own file
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-19 22:33:18 +01:00
Nico Schottelius
c086e7fcc1 adjust argument usage in bin/cdist-object-gencode
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-19 22:26:00 +01:00
Nico Schottelius
c5590cb648 extend cdist-object-gencode* to include remote/local extension
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-19 22:19:44 +01:00
Nico Schottelius
1af34c74b8 begin to differentiate local and remote object code generation
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-19 22:15:54 +01:00
Nico Schottelius
88e20abddb remove obsolete call to $@ in bin/cdist-remote-explorer-run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-19 15:11:03 +01:00
Nico Schottelius
8d4d5a5c15 switch to cdist 1.2.0
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-19 03:05:22 +01:00
Nico Schottelius
7525e82ce4 clearify what to move
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-19 02:52:42 +01:00
Nico Schottelius
3d0cdfb7c3 move to correct top dir, not to itself
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-19 02:26:52 +01:00
Nico Schottelius
25664d26e9 +new
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-19 02:24:22 +01:00
Nico Schottelius
30a3514dfe create top level hierarchy on mv and move to object to one dir higher
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-19 02:23:09 +01:00
Nico Schottelius
5985fafe86 move whole object
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-19 02:17:17 +01:00
Nico Schottelius
68adb9453a make the user aware of the copy process (waiting and nothing happens stinks)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-18 10:40:31 +01:00
Nico Schottelius
35a6eefc00 __global is not where it seems to be :-)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-18 10:35:53 +01:00
Nico Schottelius
fdea6edcd2 cleaupn cdist-manifest-run and in theory fix output problem
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-18 10:32:07 +01:00
Nico Schottelius
3f19f92435 remove obsolete cd call
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-18 10:17:35 +01:00
Nico Schottelius
99054b7d82 update cdist-quickstart
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-18 02:48:11 +01:00
Nico Schottelius
581b29ca97 warn about missing manifest (i.e. abort)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-18 02:43:25 +01:00
Nico Schottelius
c287d33ee3 use correct finish variable
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-18 01:52:00 +01:00
Nico Schottelius
63416e4af8 indent messages
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-18 01:48:30 +01:00
Nico Schottelius
50f9d65d0d check for missing objects
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-18 01:46:40 +01:00
Nico Schottelius
4cc237fa03 check for missing objects
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-18 01:45:54 +01:00
Nico Schottelius
84b4bf628e run dependency, not object again
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-18 01:35:52 +01:00
Nico Schottelius
7336499995 shrink cdist-remote-code-run-all
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-18 01:34:34 +01:00
Nico Schottelius
42af407d3e refactor cdist-remote-code-run-all
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-18 01:31:30 +01:00
Nico Schottelius
209e34512d in theory finish new cdist-remote-code-run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-18 01:31:15 +01:00
Nico Schottelius
20715e4afa add template for cdist-remote-code-run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-18 01:14:49 +01:00
Nico Schottelius
313e92779c cleanup + replace __cdist_object_base_dir
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-18 00:58:33 +01:00
Nico Schottelius
0f83417652 argc-=1 for cdist-object-gencode
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-18 00:28:05 +01:00
Nico Schottelius
7e713f1b22 argc == 1 for cdist-object-gencode-all
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-18 00:22:02 +01:00
Nico Schottelius
618287efaa argc == 1 for cdist-object-explorer-all
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-18 00:15:02 +01:00
Nico Schottelius
833c09adce argc == 1 for cdist-manifest-run-all
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-18 00:07:49 +01:00
Nico Schottelius
adcb88d53d ignore unset requirements
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-18 00:01:14 +01:00
Nico Schottelius
4c36c7dddb update cdist-manifest-run-init to argc==1 as well
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-17 23:55:37 +01:00
Nico Schottelius
02abb22a0d replace broken __cdist_object_base_dir with __cdist_out_object_dir}
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-17 23:54:16 +01:00
Nico Schottelius
6b098bff3b cleanup bin/cdist-explorer-run-global and rename it from bin/cdist-explorer-run-init
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-17 23:46:13 +01:00
Nico Schottelius
f358a34e1d obsolete cdist-bin-transfer
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-17 20:40:22 +01:00
Nico Schottelius
96c9ecf6fe strip one parameter from cdist-bin-transfer
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-17 20:33:26 +01:00