Commit graph

598 commits

Author SHA1 Message Date
Nico Schottelius
2b955b09bc move out all functions that do not only print a value from bin/cdist-config
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-05 10:01:56 +02:00
Nico Schottelius
f7f2194b8f move __cdist_object_list into seperate file
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-05 09:54:20 +02:00
Nico Schottelius
4440838650 enable debugging before catching unset variables
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-05 09:49:00 +02:00
Nico Schottelius
f65b61ee8f add debug via __cdist_debug variable
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-05 09:42:10 +02:00
Nico Schottelius
a4f45dfcf4 go back to production mode and enable rm -rf
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-08-10 08:52:06 +02:00
Nico Schottelius
cb3b16d63f -obsolete script
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-08-10 08:45:44 +02:00
Nico Schottelius
4ab6c5bbc9 cleanup object naming in cache handling
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-08-09 17:53:25 +02:00
Nico Schottelius
765c3d152a allow cache to function again
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-08-09 17:51:51 +02:00
Nico Schottelius
f6fac37f1d successfully run remote code!
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-08-09 17:50:38 +02:00
Nico Schottelius
76a796103c Merge branch 'master' into createcorelib 2011-07-28 10:58:59 +02:00
Nico Schottelius
dc820cf31e also filter stderr and add hostname as prefix
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-07-28 10:54:39 +02:00
Nico Schottelius
3a1bf25398 do not exit if a type does not have explorer :-)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-07-27 01:27:05 +02:00
Nico Schottelius
6d3053a9bc fix type explorer: working again
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-07-27 01:22:54 +02:00
Nico Schottelius
41a0c1dc8a cleanup/continue
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-07-27 00:07:44 +02:00
Nico Schottelius
cfd0f776c9 disable removal of temp data for debugging
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-07-27 00:00:31 +02:00
Nico Schottelius
29e029a2eb replace __cdist_type_has_explorer with __cdist_dir_listing
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-17 14:37:36 +02:00
Nico Schottelius
3c903fae67 abort execution until global explorers work
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-17 14:27:50 +02:00
Nico Schottelius
4fbe2a2676 begin work on __cdist_explorer_run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-17 13:01:03 +02:00
Nico Schottelius
c474317a6a migrate more stuff from cdist-config to core/
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-17 12:34:40 +02:00
Nico Schottelius
f3a88ef98d ../bin/cdist-config -> __cdist_echo
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-17 12:31:00 +02:00
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
0fa95a5adc more to fix
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-16 23:58:31 +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
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
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
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
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
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
d7ae5c88e6 and EXIT!
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-08 21:26:13 +02:00