Commit graph

162 commits

Author SHA1 Message Date
Nico Schottelius
db40e6c1a1 add __cdist_type_explorers
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 00:21:11 +01:00
Nico Schottelius
391b5d7dc0 begin cdist-object-explorer-all
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 00:19:16 +01:00
Nico Schottelius
2c5356ba9c introduce __cdist_type_from_object
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 00:17:55 +01:00
Nico Schottelius
2fc8c2c4ce add template for cdist-object-explorer-all
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 00:12:34 +01:00
Nico Schottelius
616fd954e8 no export needed, so remove it
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 00:08:45 +01:00
Nico Schottelius
5cfaad9d7a copy all explorers, so they can reference themselves
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 00:04:36 +01:00
Nico Schottelius
10bdef0edd HUGE CLEANUP
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-22 23:21:25 +01:00
Nico Schottelius
e168454d1b Revert "Revert "finish generic cdist-explorer-run""
Revert the reverts - now we're in the feature branch.

This reverts commit c429177db4.
2011-02-22 23:10:47 +01:00
Nico Schottelius
10b7a7ab8a Revert "Revert "integrate bin/cdist-explorer-coordinator into cdist-explorer-run""
Revert the reverts - now we're in the feature branch.

This reverts commit 6ba577b3fd.
2011-02-22 23:10:43 +01:00
Nico Schottelius
a0fd43d0a8 Revert "Revert "begin to create a general cdist-explorer-run""
Revert the reverts - now we're in the feature branch.

This reverts commit c14df05fbe.
2011-02-22 23:10:38 +01:00
Nico Schottelius
d72c5e1f69 Revert "Revert "add template for bin/cdist-explorer-run-global""
Revert the reverts - now we're in the feature branch.

This reverts commit 2aa4487038.
2011-02-22 23:10:35 +01:00
Nico Schottelius
2aa4487038 Revert "add template for bin/cdist-explorer-run-global"
Do not begin new features in master branch.

This reverts commit 2d7f155d1d.
2011-02-22 23:08:23 +01:00
Nico Schottelius
c14df05fbe Revert "begin to create a general cdist-explorer-run"
Do not begin new features in master branch.

This reverts commit dfca442267.
2011-02-22 23:08:19 +01:00
Nico Schottelius
6ba577b3fd Revert "integrate bin/cdist-explorer-coordinator into cdist-explorer-run"
Do not begin new features in master branch.

This reverts commit 3a015dc39a.
2011-02-22 23:08:13 +01:00
Nico Schottelius
c429177db4 Revert "finish generic cdist-explorer-run"
Do not begin new features in master branch.

This reverts commit 2a8b20b11a.
2011-02-22 23:07:54 +01:00
Nico Schottelius
0658ad06c3 Revert "rename cdist-explorer-run-global -> cdist-explorer-run-init"
Do not begin new features that break in master branch.

This reverts commit b556ab557d.
2011-02-22 23:07:01 +01:00
Nico Schottelius
30919f126b exit 0, but warn if gencode is not executable
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-22 22:40:34 +01:00
Nico Schottelius
8414f94703 Merge remote-tracking branch 'sans/master' 2011-02-22 22:37:22 +01:00
Steven Armstrong
5a0f7d6a0e need non-error exit code in cdist-object-codegen or it stops the whole execution chain
Signed-off-by: Steven Armstrong <steven.armstrong@inf.ethz.ch>
2011-02-22 22:16:01 +01:00
Nico Schottelius
b556ab557d rename cdist-explorer-run-global -> cdist-explorer-run-init
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-22 21:34:41 +01:00
Nico Schottelius
2a8b20b11a finish generic cdist-explorer-run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-22 21:34:05 +01:00
Nico Schottelius
3a015dc39a integrate bin/cdist-explorer-coordinator into cdist-explorer-run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-22 21:18:43 +01:00
Nico Schottelius
dfca442267 begin to create a general cdist-explorer-run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-22 21:11:18 +01:00
Nico Schottelius
b6a143143d cleanup + introduce __cdist_remote_user
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-22 20:40:54 +01:00
Nico Schottelius
2d7f155d1d add template for bin/cdist-explorer-run-global
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-22 20:22:58 +01:00
Nico Schottelius
40068d68de s/||/&&/
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-22 13:18:42 +01:00
Nico Schottelius
1f5fee5bad always prepend header in gencode
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-22 13:09:58 +01:00
Nico Schottelius
63f702ceae remove slash before marker
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-22 13:04:41 +01:00
Nico Schottelius
f7e18d94ec submit object_id in gencode
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-22 11:55:11 +01:00
Nico Schottelius
2e0cdf73d9 add cd to cdist-manifest-run-all
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-22 11:54:50 +01:00
Nico Schottelius
8c5a64cd92 support manifest args in cdist-manifest-run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-22 11:47:43 +01:00
Nico Schottelius
5dcb719844 introduce and use __cdist_exec_fail_on_error
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-22 11:39:23 +01:00
Nico Schottelius
da8abcb770 -c
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-22 11:33:34 +01:00
Nico Schottelius
35387cbc61 add __cdist_exec_fail_on_error
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-22 11:31:37 +01:00
Nico Schottelius
4664643f13 begin to use cdist-quickstart(1)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-20 02:07:56 +01:00
Nico Schottelius
15fa6f76e6 -debug from cdist-config
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-19 12:58:32 +01:00
Nico Schottelius
aec77a05ae cdist-config broken
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-17 17:46:18 +01:00
Nico Schottelius
145daf87e6 exit on unset variables
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-17 17:44:54 +01:00
Nico Schottelius
6d38ae5f11 shrink hackers readme, allow cdist-deploy-to to be hacked
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-17 16:50:44 +01:00
Nico Schottelius
bd026bad18 define variables to be exported to types
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-17 16:42:59 +01:00
Nico Schottelius
ff41ce0318 ensure failing if manifest or gencode break
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-17 16:26:48 +01:00
Nico Schottelius
f392543d43 add id in error string
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-17 16:17:41 +01:00
Nico Schottelius
cae8f31923 cleanups
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-17 16:13:35 +01:00
Nico Schottelius
b1c5012f3c Make __cdist_exit_err write on stderr :-)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-17 16:07:07 +01:00
Nico Schottelius
bb00bc93ef Finish bin/cdist-exec-run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-17 15:36:27 +01:00
Nico Schottelius
92dd32559a finish cdist-deploy-to
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-17 15:35:12 +01:00
Nico Schottelius
8ef43abf25 abort if codegen fails
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-17 15:33:54 +01:00
Nico Schottelius
2220054b4d manifest must exit non-zero
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-17 15:32:11 +01:00
Nico Schottelius
aee427ee54 add template for cdist-exec-run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-17 15:12:50 +01:00
Nico Schottelius
255124b8c9 Create, finish and integrate bin/cdist-exec-transfer
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-17 15:11:41 +01:00