Commit graph

1647 commits

Author SHA1 Message Date
Nico Schottelius
7d6b1b5236 ../bin/cdist-config -> core/__cdist_init_deploy
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-17 10:36:44 +02:00
Nico Schottelius
d680c8a5f1 corelib will go into cdist 1.8.0, if at all
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-17 10:34:52 +02:00
Nico Schottelius
1132ec8756 cdist-explorer-run-global -> ../core/__cdist_explorer_run_global
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-17 10:32:09 +02:00
Nico Schottelius
7050342d90 ../bin/cdist-cache -> __cdist_cache
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-17 10:30:23 +02:00
Nico Schottelius
e76b1bfe4d ++ changes for 1.7.1
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-17 00:03:07 +02:00
Nico Schottelius
0fa95a5adc more to fix
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-16 23:58:31 +02:00
Steven Armstrong
b7921451c2 bugfix: properly quote value in awk script
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-06-16 22:52:18 +02:00
Steven Armstrong
2ffd5c837b __key_value: bugfix, explorer has no access to parameters created in manifest
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-06-16 22:39:03 +02:00
Nico Schottelius
0e7d822d16 re-add set -e to cdist-config
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-14 11:14:24 +02:00
Nico Schottelius
cda6c24799 new: core/__cdist_remote_explorer_run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-14 11:10:58 +02:00
Nico Schottelius
022db22924 +debug
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-14 10:57:33 +02:00
Steven Armstrong
d21c52be1c Merge remote branch 'nico/master' 2011-06-14 07:58:34 +02:00
Nico Schottelius
00bbadef78 fix first bugs in remotely running code
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-14 01:49:43 +02:00
Nico Schottelius
9e94bb56a2 core/__cdist_run_remote
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-14 01:47:26 +02:00
Nico Schottelius
188afa2777 add wrapper script to execute functions remotely
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-14 01:44:40 +02:00
Nico Schottelius
2f5b416a33 +marker
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-14 01:37:52 +02:00
Nico Schottelius
1565c73559 no target host needed anymore
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-14 01:36:13 +02:00
Nico Schottelius
9a86b392dc ../core/__cdist_code_run and ../core/__cdist_type_build_emulation
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-14 01:27:53 +02:00
Nico Schottelius
47c32d1b53 ../core/__cdist_manifest_run_init
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-14 01:22:51 +02:00
Nico Schottelius
da9974b9ce -bug :-)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-14 01:19:58 +02:00
Nico Schottelius
0167f4a9f3 ../core/__cdist_manifest_run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-14 01:18:55 +02:00
Nico Schottelius
5dff2157e2 bin/cdist-object-manifest-run -> core/__cdist_object_manifest_run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-14 01:15:50 +02:00
Nico Schottelius
f7138c2921 bin/cdist-object-explorer-run -> core/__cdist_object_explorer_run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-14 01:13:01 +02:00
Nico Schottelius
5c378dcb1b ++todo
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-14 01:11:12 +02:00
Nico Schottelius
95ce60637c enhance for use as function
cdist-deploy-to localhost  1.38s user 1.28s system 69% cpu 3.842 total

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-14 01:08:52 +02:00
Nico Schottelius
0e2c221b43 ../bin/cdist-object-prepare -> __cdist_object_prepare
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-14 01:07:56 +02:00
Nico Schottelius
cc7da0c264 ../bin/cdist-object-all -> __cdist_object_all
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-14 01:05:26 +02:00
Nico Schottelius
ef2336cb1e cdist-object-run -> ../core/__cdist_object_run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-14 01:00:55 +02:00
Nico Schottelius
27a810705e cdist-object-code-run -> ../core/__cdist_object_code_run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-14 00:54:52 +02:00
Nico Schottelius
9e246b18ed -debug message for library loading
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-14 00:48:07 +02:00
Nico Schottelius
580b5da688 remove obsolete cdist-object-push
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-14 00:47:24 +02:00
Nico Schottelius
152cc930e1 also migrate cdist-object-gencode
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-14 00:41:52 +02:00
Nico Schottelius
0603322bbd begin to make cdist-object-gencode-run a function
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-14 00:30:22 +02:00
Nico Schottelius
cf88f9cacb finished migration of cdist-dir to __cdist_dir
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-14 00:28:08 +02:00
Nico Schottelius
6a500d5570 and run again
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-14 00:21:15 +02:00
Nico Schottelius
7fbc4b8b77 introduce first (and only?) global variable __cdist_target_host
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-14 00:20:51 +02:00
Nico Schottelius
e6d2a301c9 replace usage of cdist-dir and use new syntax
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-14 00:19:57 +02:00
Nico Schottelius
abe6e695bc load __cdist_dir from core
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-14 00:17:31 +02:00
Nico Schottelius
630fced69d begin experiement: move cdist-dir to core lib
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-14 00:12:15 +02:00
Nico Schottelius
f2badcd2b7 in theory can export library to user now
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-14 00:03:38 +02:00
Nico Schottelius
167098d731 more ideas on how to install via cdist
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-14 00:00:51 +02:00
Nico Schottelius
80c1d7d0cc idea of installing an os via cdist
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-13 18:35:42 +02:00
Nico Schottelius
84d2930691 typo fixes (thanks to Derek Brost)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-08 23:24:09 +02:00
Nico Schottelius
d7ae5c88e6 and EXIT!
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-08 21:26:13 +02:00
Nico Schottelius
d4eff6f89b ++todo
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-08 21:25:52 +02:00
Nico Schottelius
6f99de75a5 only trap signals in front end scripts
Otherwise children execute kill egain and the shell segfaults

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-08 21:23:53 +02:00
Nico Schottelius
56cf428d4c use kill 0 on SIGINT and SIGTERM, but not on trap EXIT
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-08 21:19:05 +02:00
Nico Schottelius
ca84f1b2b8 more requirements for code submission
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-02 08:14:50 +02:00
Steven Armstrong
ac035ba0fd add missing dependency
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-05-25 20:23:53 +02:00
Nico Schottelius
4e7c571b7d fixed 19:40 < drothli> telmich: http://www.nico.schottelius.org/software/cdist/man/cdist.html points to http://www.nico.schottelius.org/cdist/ which is a dead link
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-05-19 19:46:20 +02:00