Commit graph

1522 commits

Author SHA1 Message Date
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
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
Aurelien Bondis
a55e24f49c type package_pacman: added --needed to accelerate install 2011-05-19 17:46:17 +02:00
Nico Schottelius
c1d17f8d14 no need for execute bit on cdist-config
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-05-12 17:56:50 +02:00
Nico Schottelius
916d355891 remove kill 0 in cdist-config from master branch until it works :-)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-05-12 17:08:18 +02:00
Nico Schottelius
2312095b28 complete answer 2
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-05-12 13:49:58 +02:00
Nico Schottelius
a6e34dcb08 add second answer
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-05-12 12:06:20 +02:00
Nico Schottelius
130eb811e9 +logfile
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-05-12 11:54:27 +02:00
Nico Schottelius
7872a11a91 document trap problem
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-05-10 17:13:25 +02:00
Nico Schottelius
14708a9c59 -SIG
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-05-10 17:12:02 +02:00
Nico Schottelius
ee076ef7e9 only kill children, if we got signalled
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-05-10 17:11:15 +02:00
Nico Schottelius
a202826a62 also kill children in cdist core
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-05-10 17:07:52 +02:00
Nico Schottelius
b1f10f2936 use kill 0 to kill all children
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-05-10 16:58:59 +02:00
Nico Schottelius
32e7ac3e78 --todo
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-05-10 16:48:41 +02:00
Nico Schottelius
a164d16ea4 add explorer to reference documentation
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-05-10 16:44:48 +02:00
Nico Schottelius
31c76f8a42 only escapce the first underline to satisfy asciidoc - weired!
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-05-10 16:40:33 +02:00
Nico Schottelius
e9f7a2c82c ignore generated files
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-05-10 16:30:19 +02:00
Nico Schottelius
842bddf4ab fix date in speech
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-05-10 16:27:29 +02:00
Nico Schottelius
5dafd39515 +\n for ikiwiki
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-05-10 16:23:59 +02:00
Nico Schottelius
3ec639f4a1 use -m for git tag in releasescript
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-05-10 15:51:08 +02:00
Nico Schottelius
ef5d77844d update readme
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-05-10 15:50:18 +02:00
Nico Schottelius
8b4196e023 Prepare release of 1.7.0 (1) 2011-05-10 15:49:35 +02:00
Nico Schottelius
577ad53030 +debug data
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-05-10 15:42:13 +02:00
Nico Schottelius
a01c01defd plus and minus one performance idea
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-05-10 13:45:32 +02:00
Nico Schottelius
c66dabfffd sync into dir, not subdir
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-05-10 13:14:48 +02:00
Nico Schottelius
eab894e608 make a shell script out of the template
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-05-10 13:14:34 +02:00
Nico Schottelius
95fefedba4 add template for oprofile benchmark
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-05-10 13:10:21 +02:00