Commit graph

181 commits

Author SHA1 Message Date
Steven Armstrong
dd949d5984 explorers for types with clashing names not pushed to target
Thorsten Steenbock reported a bug where types with similar names, e.g
__first
__first_second
would interfere when transfering explorers to the target host.

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-07-01 13:18:18 +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
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
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
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
8b4196e023 Prepare release of 1.7.0 (1) 2011-05-10 15:49:35 +02:00
Nico Schottelius
d8cd9e0118 allow debug to be unset when using
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-05-10 10:04:37 +02:00
Nico Schottelius
93ef73a645 move gencode type path combination into cdist-config (also for __cdist_type_gencode)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-28 14:46:35 +02:00
Nico Schottelius
99bf12a48f move gencode type path combination into cdist-config
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-28 14:45:14 +02:00
Nico Schottelius
efe1d3db79 Prepare files for the next release 2011-04-19 22:43:18 +02:00
Nico Schottelius
4873b046ba allow user to change __cdist_tmp_base_dir to avoid using /tmp
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-08 10:52:03 +02:00
Nico Schottelius
c3341df08d Upgrade to 1.6.1
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-07 09:56:59 +02:00
Nico Schottelius
0a3a434269 remove ... dots ... make ... me ...feel ... weired
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-06 21:51:43 +02:00
Nico Schottelius
bc1c7f104e core prefix
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-06 21:50:49 +02:00
Nico Schottelius
bb96163315 blame on the right file
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-06 21:19:47 +02:00
Nico Schottelius
fb0dafba5c make faulty code a warning
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-06 21:18:15 +02:00
Nico Schottelius
2162d444b3 better logging in __cdist_exec_fail_on_error
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-06 20:55:53 +02:00
Nico Schottelius
8924a9583d ++__cdist_echo
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-06 20:52:14 +02:00
Nico Schottelius
f08a9eaaa9 +: after object_self
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-06 20:35:27 +02:00
Nico Schottelius
9d5d0b8cdd always setup __cdist_echo_prefix
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-06 20:34:46 +02:00
Nico Schottelius
e3f27f1794 allow empty $__cdist_object_self
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-06 20:31:19 +02:00
Nico Schottelius
e4390da300 requiring set +e in __cdist_exec_fail_on_error to catch error ourselves
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-06 20:18:31 +02:00
Nico Schottelius
813b4e1f2b use __cdist_exec_fail_on_error in bin/cdist-code-run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-06 20:11:39 +02:00
Nico Schottelius
08d18ec1ec show broken code
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-06 20:05:58 +02:00
Nico Schottelius
90f5d47164 add warning level
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-06 20:04:34 +02:00
Nico Schottelius
723046fdd2 introduce and use __cdist_echo
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-06 20:00:36 +02:00
Nico Schottelius
4aa0d80310 prepare files for 1.6.0 release
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-06 19:36:57 +02:00
Steven Armstrong
71765210bb rename cdist-object-process to cdist-object-prepare
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-04-05 22:55:46 +02:00
Nico Schottelius
c5925ff331 prepare version change
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-05 17:43:10 +02:00
Nico Schottelius
c532a2ccd3 remove one Error of Error: Error: /home/users/nico/oeffentlich/rechner/projekte/cdist-used/conf/type/__nico_desktop/manifest exited non-zero.
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-02 02:22:08 +02:00
Nico Schottelius
dd176d7a64 construct cache dir path in cdist-config, not cdist-cache
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-31 15:40:08 +02:00
Steven Armstrong
61b7b68671 split explorer/manifest and gencode runcode into to 2 steps
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-03-30 22:46:49 +02:00
Steven Armstrong
e7f7a88357 prefix error messages with Error:
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-03-29 22:00:54 +02:00
Nico Schottelius
1d05756076 release 1.5.0
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-29 16:47:02 +02:00
Steven Armstrong
ebbacf4873 remove unused functions
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-03-29 16:41:38 +02:00
Nico Schottelius
6be9d02e6a consistency: function {} begin on next line
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-29 16:28:59 +02:00
Nico Schottelius
ad7a9f82f7 __cdist_objects_created == local output
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-29 16:27:57 +02:00
Steven Armstrong
32392d129a implement $__self
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-03-29 15:27:17 +02:00
Steven Armstrong
f187ed257a implement the big code shuffle
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-03-29 14:36:35 +02:00
Nico Schottelius
5306737d22 discuss todos / cleanup / make more fun for us
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-29 10:38:35 +02:00
Steven Armstrong
5ce4586fd3 Merge branch 'changerunningorder' into executionorder 2011-03-28 15:27:32 +02:00
Steven Armstrong
db66d3731d merge master
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-03-28 15:27:00 +02:00
Steven Armstrong
4ee5d74c9f implement dependency handling at the object level
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-03-28 14:55:58 +02:00
Nico Schottelius
0a14aa080c prepare version change
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-26 23:04:06 +01:00
Steven Armstrong
31a0b6c3d0 fixed inconsistencies between local and remote variable naming
- /__cdist_remote_out_object_base_dir/__cdist_remote_out_object_dir/
- __cdist_remote_object_dir += __cdist_name_dot_cdist

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-03-26 01:43:55 +01:00
Nico Schottelius
a9ce26f968 integrate cdist-cache
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-25 23:35:11 +01:00