Commit graph

567 commits

Author SHA1 Message Date
Nico Schottelius
63416e4af8 indent messages
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-18 01:48:30 +01:00
Nico Schottelius
50f9d65d0d check for missing objects
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-18 01:46:40 +01:00
Nico Schottelius
4cc237fa03 check for missing objects
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-18 01:45:54 +01:00
Nico Schottelius
84b4bf628e run dependency, not object again
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-18 01:35:52 +01:00
Nico Schottelius
7336499995 shrink cdist-remote-code-run-all
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-18 01:34:34 +01:00
Nico Schottelius
42af407d3e refactor cdist-remote-code-run-all
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-18 01:31:30 +01:00
Nico Schottelius
209e34512d in theory finish new cdist-remote-code-run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-18 01:31:15 +01:00
Nico Schottelius
20715e4afa add template for cdist-remote-code-run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-18 01:14:49 +01:00
Nico Schottelius
313e92779c cleanup + replace __cdist_object_base_dir
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-18 00:58:33 +01:00
Nico Schottelius
0f83417652 argc-=1 for cdist-object-gencode
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-18 00:28:05 +01:00
Nico Schottelius
7e713f1b22 argc == 1 for cdist-object-gencode-all
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-18 00:22:02 +01:00
Nico Schottelius
618287efaa argc == 1 for cdist-object-explorer-all
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-18 00:15:02 +01:00
Nico Schottelius
833c09adce argc == 1 for cdist-manifest-run-all
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-18 00:07:49 +01:00
Nico Schottelius
adcb88d53d ignore unset requirements
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-18 00:01:14 +01:00
Nico Schottelius
4c36c7dddb update cdist-manifest-run-init to argc==1 as well
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-17 23:55:37 +01:00
Nico Schottelius
02abb22a0d replace broken __cdist_object_base_dir with __cdist_out_object_dir}
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-17 23:54:16 +01:00
Nico Schottelius
6b098bff3b cleanup bin/cdist-explorer-run-global and rename it from bin/cdist-explorer-run-init
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-17 23:46:13 +01:00
Nico Schottelius
f358a34e1d obsolete cdist-bin-transfer
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-17 20:40:22 +01:00
Nico Schottelius
96c9ecf6fe strip one parameter from cdist-bin-transfer
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-17 20:33:26 +01:00
Nico Schottelius
c830597402 Merge remote-tracking branch 'sans/master' into dependencies 2011-03-17 13:40:43 +01:00
Nico Schottelius
a501863f41 begin to record requirements
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-16 15:49:44 +01:00
Nico Schottelius
93eef6900a + require in cdist-config
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-16 15:49:28 +01:00
Steven Armstrong
59e774b08d fix merge conflict in changelog
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-03-16 14:41:43 +01:00
Nico Schottelius
86b8428edd remove hardcoded paths in cdist-type-emulator
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-16 12:57:13 +01:00
Nico Schottelius
b8a0fce4fa remove grep -q, not supported on solaris, from cdist-env
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-16 11:33:01 +01:00
Nico Schottelius
c733c9f9a4 Change to 1.1.0
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-16 11:10:37 +01:00
Nico Schottelius
e7eecb06d9 cdist-config needs to be executable, otherwise which does not find it
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-16 10:19:38 +01:00
Nico Schottelius
b6f231063e 0600 is enough for cdist-config (according to posix)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-16 09:48:59 +01:00
Nico Schottelius
1cbdcc1f53 + semicolon for csh
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-16 09:15:22 +01:00
Nico Schottelius
01ffe2f3ad cdist-env: add support for tcsh
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-16 09:00:22 +01:00
Nico Schottelius
e69db644b4 prepare version 1.0.4
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-15 21:38:09 +01:00
Nico Schottelius
8fa48be2ae change footer (looks better)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-15 21:31:11 +01:00
Nico Schottelius
b19a29be6e make cdist-env usable standalone (i.e. without cdist-config)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-15 21:30:02 +01:00
Steven Armstrong
88e48c391e fix borken paths in cdist-type-template
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-03-15 17:19:20 +01:00
Nico Schottelius
dfdd7644b2 make footer aequivalent to header
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-15 16:29:11 +01:00
Nico Schottelius
f8b8ba32fa add new cdist-env
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-11 23:42:44 +01:00
Nico Schottelius
068a7d272b place version on top
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-11 19:25:55 +01:00
Nico Schottelius
6a591d3e06 update version to be indpendent of git tree
Otherwise versions will include changes by users, which
will not be helpful for development.

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-11 19:17:31 +01:00
Nico Schottelius
19c7317cbb [DOC] document singleton behaviour in type manpage
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-11 19:09:36 +01:00
Nico Schottelius
f90d37d4bc add name of target host at end of run again
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-10 18:23:55 +01:00
Nico Schottelius
24200865c9 remove __cdist_type_parameter_file in favor for new variants
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-10 17:44:16 +01:00
Nico Schottelius
e1a5a26cbf allow parameters to be missing, if not used
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-10 17:41:08 +01:00
Nico Schottelius
dc2a49afe8 -^
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-10 17:25:24 +01:00
Nico Schottelius
c67807af76 make regexp usable in the middle of an expression
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-10 17:23:47 +01:00
Nico Schottelius
99e6b9e6b1 update regexp for sane characters
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-10 17:19:25 +01:00
Nico Schottelius
70704b16a9 +comment
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-10 13:21:21 +01:00
Nico Schottelius
70485e3516 extend cdist-type-emulator with singleton type
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-09 22:09:44 +01:00
Nico Schottelius
ef7c63bc98 finish bin/cdist-type-template
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-08 00:13:04 +01:00
Nico Schottelius
ac9d574049 rename param -> parameter
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-08 00:07:28 +01:00
Nico Schottelius
1d234550df add __cdist_type_param_dir
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-07 23:55:46 +01:00
Nico Schottelius
5d6d316947 add template for cdist-type-template
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-07 23:50:28 +01:00
Nico Schottelius
f2cfebd188 rename *codegen -> gencode (according to manpage and the way types are defined)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-07 23:04:15 +01:00
Nico Schottelius
3cd90300f1 export __global in cdist-remote-explorer-run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-07 18:05:13 +01:00
Nico Schottelius
1b9cc2bb70 finish cdist-quickstart
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-04 11:02:28 +01:00
Nico Schottelius
054cb7e611 ensure cdist-type-emulator has __cdist_version set before and does not run git
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-04 09:15:18 +01:00
Nico Schottelius
1ee4647b28 make version static on remote side
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-04 09:07:59 +01:00
Nico Schottelius
f3eb9368cd always chdir to git dir before getting version
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-04 09:07:48 +01:00
Nico Schottelius
7b3cee877d next todo
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-04 02:08:05 +01:00
Nico Schottelius
908faea756 finish cdist-quickstart
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-04 02:06:13 +01:00
Nico Schottelius
a7ab994bc8 make version dynamic from git
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-03 20:24:25 +01:00
Nico Schottelius
3ff0b4a393 Use ../conf as default conf and change remote bin directory (next to conf/)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-03 15:27:51 +01:00
Nico Schottelius
88a9700902 indent __cdist_init_deploy call
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-03 15:27:09 +01:00
Nico Schottelius
8d3d11ea1b cleanup / sort cdist-config
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-03 14:49:48 +01:00
Nico Schottelius
cc05c6324c provide __global for manifests and codegen
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-03 10:37:11 +01:00
Nico Schottelius
8bb3a5b416 beautify output
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-03 09:47:02 +01:00
Nico Schottelius
f75f2a0de5 Cleanup local and remote base_dir before execution
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-03 09:43:04 +01:00
Nico Schottelius
581727e1bf ensure no conf/conf is created (ln -s src dst/conf createst dst/conf/src if conf exists as a dir)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-02 23:34:19 +01:00
Nico Schottelius
097e2cb303 continue on cdist-quickstart
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-27 14:27:23 +01:00
Nico Schottelius
998be2025b begin to create cdist-quickstart
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-26 20:57:04 +01:00
Nico Schottelius
1ed0b6d474 export __cdist_local_base_dir in cdist-deploy-to for others
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-26 10:42:06 +01:00
Nico Schottelius
3ab8f8d964 -debug
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-26 10:32:53 +01:00
Nico Schottelius
30b1f2632a pass out dir to bin/cdist-type-build-emulation
because __cdist_out_type_bin_dir is script specific

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-26 10:32:16 +01:00
Nico Schottelius
06a56ab6d2 AR Steven: DOC: manifest can access $__type (implement $__type ;-)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-25 18:42:38 +01:00
Nico Schottelius
3b7bbb0756 replace __cdist_type_mydir with __cdist_type_dir
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-25 18:39:21 +01:00
Nico Schottelius
8760579c7b -x test similar as the others
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-25 18:37:14 +01:00
Nico Schottelius
45429c2ca0 Allow ids to contain slashes
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-25 02:13:11 +01:00
Nico Schottelius
d44fd92dbd inform user, if run was successful
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-25 01:50:24 +01:00
Nico Schottelius
66bfe35a46 add user information
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-25 01:48:18 +01:00
Nico Schottelius
cd70c2ecee cleanups + finish: we're able to run code remotely
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-25 01:42:13 +01:00
Nico Schottelius
12ff8d66ec add template for cdist-remote-code-run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-25 01:28:50 +01:00
Nico Schottelius
65e84f4b4b use cdist-dir to push results to target
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-25 01:25:58 +01:00
Nico Schottelius
6460f1914d better explain what is going on
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-25 01:22:40 +01:00
Nico Schottelius
9ce7d55a29 tell user which codegen block is executed
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-25 01:18:02 +01:00
Nico Schottelius
8aa560d111 save a variable
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-25 01:17:48 +01:00
Nico Schottelius
5433befd4a adjust bin/cdist-object-codegen to new style with env
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-25 01:17:32 +01:00
Nico Schottelius
12ba5dd9eb cleanup cdist-deploy-to
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-25 01:07:32 +01:00
Nico Schottelius
ea39e137f3 re-integrate cdist-object-codegen-all
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-25 01:06:02 +01:00
Nico Schottelius
8d774ff152 fix some issues in cdist-config, transfer parameters
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-25 00:54:49 +01:00
Nico Schottelius
dcb9900afc submit variables to cdist-remote-explorer-run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-25 00:30:37 +01:00
Nico Schottelius
302b6ef58c shrink bin/cdist-run-remote
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-25 00:27:48 +01:00
Nico Schottelius
d8e2294865 remove debug
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-25 00:20:10 +01:00
Nico Schottelius
72f62a8734 cleanup and fix some missing } in cdist-config
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-25 00:14:26 +01:00
Nico Schottelius
e4a6efa84b correctly evaluate
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-24 21:41:03 +01:00
Nico Schottelius
df2bbebed7 params -> parameter
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-24 21:37:55 +01:00
Nico Schottelius
238b5119eb begin to migrate from plural to singular, CONSISTENTLY
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-24 21:32:01 +01:00
Nico Schottelius
39b2976f9a in theory, finish bin/cdist-object-explorer-all
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-24 21:24:21 +01:00
Nico Schottelius
16ac8117b2 cleanup much of bin/cdist-object-explorer-all
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-24 17:28:14 +01:00
Nico Schottelius
e599e1684c continue on bin/cdist-object-explorer-all, make scp silent
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-24 16:33:08 +01:00
Nico Schottelius
241548c6ec cleanup, -debug
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-24 15:43:53 +01:00
Nico Schottelius
97ab2066d4 verify: __object_id and __object work in cdist-manifest-run-all
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-24 15:40:34 +01:00
Nico Schottelius
24ce08820e export __object and __object_id
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-24 15:34:17 +01:00
Nico Schottelius
ce15edf4d6 do not allow to pass arguments to bin/cdist-manifest-run anymore - use env
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-24 15:23:36 +01:00
Nico Schottelius
bfb1cee403 export __cdist_output_dir __cdist_manifest for bin/cdist-type-emulator
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-24 15:19:38 +01:00
Nico Schottelius
3fdb5a2e24 successfully implement __target_host
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-24 15:14:00 +01:00
Nico Schottelius
93253f7fda export __target_host
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-24 15:05:31 +01:00
Nico Schottelius
212260b46d cleanup cdist-explorer-run-init, export __explorers to general explorers
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-24 14:51:49 +01:00
Nico Schottelius
7d766d5376 export __manifests
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-24 14:47:52 +01:00
Nico Schottelius
7db5a80831 rename cdist-manifest-init to cdist-manifest-run-init
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-24 14:40:30 +01:00
Nico Schottelius
40752d4ac4 remove autoexport from cdist-config
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-24 14:28:29 +01:00
Nico Schottelius
f5eccb2cb1 introduce new variable names and use __explorers
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-24 14:24:47 +01:00
Nico Schottelius
e2ecdd92ab remove almost obsolete bin/cdist-explorer-run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-24 14:15:02 +01:00
Nico Schottelius
06ce87a289 begin to cleanup bin/cdist-object-explorer-all
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-24 10:06:56 +01:00
Nico Schottelius
3af305b1fc -debug in cdist-manifest-run-all
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-24 09:41:53 +01:00
Nico Schottelius
57c60a40a8 make cdist-manifest-run change the working dir
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-24 09:37:31 +01:00
Nico Schottelius
5a7ffff077 document bug
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 19:25:41 +01:00
Nico Schottelius
c98b84ba4b have conf/ and out/ locally, similar to the remote side
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 19:11:45 +01:00
Nico Schottelius
957ab446fa introduce __cdist_local_base_dir and use it in HACKERS_README
This way out/ and conf/ are debugable.

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 19:05:46 +01:00
Nico Schottelius
e6c4533464 BREAK: rename __cdist_config to __cdist_conf_dir
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 19:01:29 +01:00
Nico Schottelius
c9a146a2a2 +2011 :-)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 18:42:30 +01:00
Nico Schottelius
0b94a11d27 implement the rename to cdist-type-build-emulation in cdist-manifest-run and cleanups
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 18:40:58 +01:00
Nico Schottelius
0bf48923a9 change explorer to use locally available path
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 18:36:02 +01:00
Nico Schottelius
fde8b2b1b9 out does not need _dir in the fs
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 18:30:06 +01:00
Nico Schottelius
978ed2c75f also submit working directory
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 18:25:25 +01:00
Nico Schottelius
f58f1c91e4 write to explorer name
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 18:24:51 +01:00
Nico Schottelius
609b92b661 update to new binaries
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 18:17:15 +01:00
Nico Schottelius
45237ec5ae conf != out
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 18:13:08 +01:00
Nico Schottelius
2e0d1b78fb rename: cdist-remote-* = remote
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 18:10:26 +01:00
Nico Schottelius
50c533bac3 add cdist-remote-run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 18:04:29 +01:00
Nico Schottelius
926a307234 transfer all cdist binaries to the target, may be helpful
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 17:55:35 +01:00
Nico Schottelius
b81101ac47 begin introduction of cdist-helper-exec
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 16:51:47 +01:00
Nico Schottelius
9c9d3b33cf update cdist-explorer-run to almost run again
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 16:49:39 +01:00
Nico Schottelius
995bf8d963 a giant commit into the future
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 16:45:38 +01:00
Nico Schottelius
6ffd99fe67 cleanup and break bin/cdist-deploy-to
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 16:25:41 +01:00
Nico Schottelius
84ede1ae29 cleanup cdist config, remove cache, add out_dir and conf_dir
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 16:19:41 +01:00
Nico Schottelius
d7299b8ab1 begin to integrate out_dir in cdist_config
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 16:10:36 +01:00
Nico Schottelius
17838de1ef remove exports from cdist-config, let subscribts take care about that, add out_dir
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 16:01:18 +01:00
Nico Schottelius
5957de201b wait for correct count of args in bin/cdist-dir
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 15:53:51 +01:00
Nico Schottelius
5d881f226a superseed cdist-dir-push with cdist-dir
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 15:50:33 +01:00
Nico Schottelius
d8cb6d58f7 finish bin/cdist-dir-push
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 15:42:14 +01:00
Nico Schottelius
243556a69f add template for cdist-dir-push
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 15:32:17 +01:00
Nico Schottelius
de71c881a2 begin to include parameter copy to remote host
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 10:24:20 +01:00
Nico Schottelius
91b4b163cd save parameters below parameters/ in the object
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 10:21:43 +01:00
Nico Schottelius
ce69491c34 sed -i 's/__cdist_name_type_params/__cdist_name_params/g'
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 10:12:26 +01:00
Nico Schottelius
b222b79407 add some help output in cdist-explorer-run for bogus situations
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 10:04:12 +01:00
Nico Schottelius
d58d13910b explorers integrated, but parameters are not accessable
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 10:01:23 +01:00
Nico Schottelius
0835e68766 also pass object_id to cdist-explorer-run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 09:56:25 +01:00
Nico Schottelius
a12df5ce7c create __cdist_object_id_from_object and use it + __cdist_type_from_object in cdist-manifest-run-all
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 09:50:30 +01:00
Nico Schottelius
51669874a7 extend cdist-explorer-run to accept arguments for explorers
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 09:37:07 +01:00
Nico Schottelius
53b51b0ead Merge branch 'master' into types_explorer 2011-02-23 09:24:25 +01:00
Nico Schottelius
a2992f0c6e be consistent and use __cdist_name_type_params as temp subdir
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 09:22:38 +01:00
Nico Schottelius
bf94bd1aab no need to export variables
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 09:20:34 +01:00
Nico Schottelius
9a3d3bf489 s/opt_file/optional/
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 09:17:33 +01:00
Nico Schottelius
9bdfeb6198 exit after object explorer run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 09:14:14 +01:00
Nico Schottelius
9761239f6c in theory finish bin/cdist-object-explorer-all
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 09:02:57 +01:00
Nico Schottelius
76057615b3 and rename to __cdist_type_explorer_dir
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 00:21:32 +01:00
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
Nico Schottelius
da4cd7235c add template for cdist-exec-transfer
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-17 15:03:24 +01:00
Nico Schottelius
df68e515b7 cleanup and -debug
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-17 09:47:12 +01:00
Nico Schottelius
db1b7eac6c prefix all variables with __cdist
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-17 09:44:36 +01:00
Nico Schottelius
1d796e6ed1 rename no_new_object to new_objects_created (more intuitive)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-17 09:34:59 +01:00
Nico Schottelius
cd6f969789 cleanup + include source information in migration
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-17 09:28:35 +01:00
Nico Schottelius
466e654bc4 correctly rename to cdist-manifest-run-all
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-17 09:24:14 +01:00
Nico Schottelius
7bd2ba1358 fix many bugs in cdist-manifest-recursive-all
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-17 09:23:38 +01:00
Nico Schottelius
711f9d7647 include rename in bin/cdist-deploy-to
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-17 09:17:30 +01:00
Nico Schottelius
662eee7ea3 rename manifest -> manifests and use subshell in__cdist_object_list()
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-17 09:17:13 +01:00
Nico Schottelius
153be6af6c init -> manifest
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-17 00:08:39 +01:00
Nico Schottelius
d8ab79e1ab integrate another stage into cdist-deploy-to
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-16 23:23:27 +01:00
Nico Schottelius
a7505f10a4 add parameter checking to cdist_tree_wrapper
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-16 23:04:33 +01:00
Nico Schottelius
a134d6c9e1 add function: __cdist_type_param_file
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-16 23:04:02 +01:00
Nico Schottelius
4354c68405 cleanup bin/cdist-manifest-recursive-run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-16 22:12:21 +01:00
Nico Schottelius
c8242ef7da cleanup bin/cdist_tree_wrapper and introduce __cdist_object_source
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-16 22:11:53 +01:00
Nico Schottelius
8995c77301 cleanup bin/cdist-object-codegen-all
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-16 21:56:47 +01:00
Nico Schottelius
80c745383a finish cdist-object-codegen-all
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-16 20:24:58 +01:00
Nico Schottelius
6914071fe0 finish __cdist_object_list
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-16 20:16:19 +01:00
Nico Schottelius
3c3dad1842 rename __cdist_name_object_finished as well
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-16 20:14:40 +01:00
Nico Schottelius
64d71229f8 BREAK __cdist_object_source (due to rename to __cdist_name_object_source)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-16 20:12:29 +01:00
Nico Schottelius
1609e52873 add template for code generation for all objects
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-16 20:04:04 +01:00
Nico Schottelius
04dd1672b1 rename cdist-code-gen -> cdist-object-codegen
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-16 20:03:09 +01:00
Nico Schottelius
ce3b83bfc1 update cdist-config with more helper functions
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-16 19:44:04 +01:00
Nico Schottelius
e4fbb1a5d8 finish cdist-code-gen
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-16 19:43:11 +01:00
Nico Schottelius
2e717cc50c Merge remote-tracking branch 'sans/master' 2011-02-14 12:26:23 +01:00
Nico Schottelius
fafb427928 implement cdist-code-gen (in theory)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-14 11:28:14 +01:00
Steven Armstrong
a7fc721488 fix typo: /object/newobject/
Signed-off-by: Steven Armstrong <steven.armstrong@inf.ethz.ch>
2011-02-14 11:21:49 +01:00
Nico Schottelius
1bae761fa0 prepare next steps: stage four and five
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-08 00:26:26 +01:00
Nico Schottelius
15bc9c9af1 remove obsolete cdist-compile
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-08 00:12:42 +01:00
Nico Schottelius
0c6fc7aa86 remove obsolete cdist-preprocess
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-08 00:12:07 +01:00
Nico Schottelius
2f926582e0 +mass cleanup
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-08 00:08:05 +01:00
Nico Schottelius
425f2bb71a make scripts more variable and less dependent on each other
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-07 23:59:21 +01:00
Nico Schottelius
3f0e3bdc12 remove some debug
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-07 18:40:43 +01:00
Nico Schottelius
34f845ec86 2nd level cconfig generation works (with debug)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-07 18:34:34 +01:00
Nico Schottelius
d9a07bfa3e remove automatic __ prefixing of types
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-07 18:16:02 +01:00
Nico Schottelius
3892f9e713 add support for __cdist_type_mydir to find dir of current type
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-07 17:50:25 +01:00
Nico Schottelius
43e6db264b rename __cdist_id to __cdist_object_id
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-06 22:07:17 +01:00
Nico Schottelius
494ee906f2 theorethic working version of recursive run :-)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-06 21:14:21 +01:00
Nico Schottelius
3dacee432e another cleanup and almost running cdist-manifest-recursive-run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-06 16:04:28 +01:00
Nico Schottelius
f4c53e800c begin to cleanup recursive call run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-06 15:52:28 +01:00
Nico Schottelius
5237bcd5cd first generic version working for objects
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-05 19:49:08 +01:00
Nico Schottelius
054f23a550 create objects in a seperate object dir, so no clashes with other stuff
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-05 19:44:12 +01:00
Nico Schottelius
d555ba5710 cleanup
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-05 19:42:49 +01:00
Nico Schottelius
9b44fc6c9c add names for everything in config
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-05 19:41:47 +01:00
Nico Schottelius
8446328bc6 Implement automatic temp removal
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-05 19:32:29 +01:00
Nico Schottelius
77038026a9 fix source record
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-05 19:20:59 +01:00
Nico Schottelius
9af46445ad +set -eu
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-05 19:10:48 +01:00
Nico Schottelius
0ca61d6ed8 check for correct manifest, not the init one
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-05 19:08:47 +01:00
Nico Schottelius
7cb60aa5f5 add template for cdist-manifest-recursive-run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-05 19:04:13 +01:00
Nico Schottelius
afedb3b90c document more functionality
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-04 22:51:16 +01:00
Nico Schottelius
1850042126 also enable transfer of explorer data back to the server
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-04 22:49:20 +01:00
Nico Schottelius
f22dcb5d8f add cleanup reminder
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-04 22:40:58 +01:00
Nico Schottelius
16f51ca14d Finish ugly explorer integration
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-04 22:39:26 +01:00
Nico Schottelius
4450b2f573 continue to integrate new explorer idea
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-04 14:38:17 +01:00
Nico Schottelius
768c97ee48 add script to coordinate run of explorers on the target
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-04 09:57:50 +01:00
Nico Schottelius
4b5d7dda25 mega cleaunp discussion commit :-)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-03 13:24:56 +01:00
Nico Schottelius
d171ad5e64 restructure explorer
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-02 22:24:21 +01:00
Nico Schottelius
39595f321f unify error messages
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-02 22:06:51 +01:00
Nico Schottelius
9c402d4a3e Describe latest features
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-02 21:49:01 +01:00
Nico Schottelius
b9fa9d8b11 switch from chars to sane_regexp
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-02 21:43:11 +01:00
Nico Schottelius
6704ae7cc1 overwrite links / binaries if already existing
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-02 21:42:50 +01:00
Nico Schottelius
929d33c310 reload binaries on manifest run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-02 21:32:18 +01:00
Nico Schottelius
8660e59296 no exec anymore
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-02 20:30:20 +01:00
Nico Schottelius
81c7ba085f add hint for example configuration
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-02 20:24:34 +01:00
Nico Schottelius
7c8dba566f add source record information to created objects
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-02 19:53:13 +01:00
Nico Schottelius
489639f8e0 split: cdist-build-host-cconfig to cdist-manifest-init and cdist-manifest-run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-02 19:15:53 +01:00
Nico Schottelius
2d54c04f8a cleanup cdist-config
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-02 18:56:25 +01:00
Nico Schottelius
f5124bb821 commit before breaking cdist-build-host-cconfig
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-02 18:49:17 +01:00
Nico Schottelius
b95eb84a98 Cleanups, begin generic manifest execution
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-02 18:41:01 +01:00
Nico Schottelius
de41cceff5 rename
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-02 18:39:34 +01:00
Nico Schottelius
6c69e0246f restructure /cdist-cconfig-tree
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-02 16:03:39 +01:00
Nico Schottelius
3ead0e5912 cleanup cdist_tree_wrapper
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-02 15:02:26 +01:00
Nico Schottelius
f7f687995b cleanups + new __cdist_exit_err
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-02 14:55:28 +01:00
Nico Schottelius
97a14fe933 finish cdist-build-bin
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-02 14:38:30 +01:00
Nico Schottelius
732ac76383 cleanup and add vars to cdist-config
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-02 14:23:54 +01:00
Nico Schottelius
14ea35e40f begin to move cdist-cconfig-tree to use internal variables
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-02 14:23:34 +01:00
Nico Schottelius
24d28b4a06 begin to write real world manifest
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-02 14:02:29 +01:00
Nico Schottelius
691766b27e replace some hardcoded values with dynamic generated ones
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-02 14:01:21 +01:00
Nico Schottelius
63a0e8184d begin to make test cases productive
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-02 11:10:19 +01:00
Nico Schottelius
c6a27aa82a more ideas
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-01-15 01:23:18 +01:00
Nico Schottelius
ca82a0d4a0 disable library loading
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2010-12-01 20:10:42 +01:00
Nico Schottelius
c223a4ac5c move around documentation
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2010-10-28 21:13:57 +02:00
Nico Schottelius
007435a6da template for cdist-compile
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2010-09-30 20:54:56 +02:00
Nico Schottelius
bf0e326bcb move variables to bottom block
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2010-09-30 20:53:32 +02:00
Nico Schottelius
37edb78ac5 finish small cdist-deploy-to
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2010-09-30 20:48:14 +02:00
Nico Schottelius
217c6861e4 use parameters
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2010-09-30 20:46:29 +02:00
Nico Schottelius
36522e2e39 add arguments to sub-scripts
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2010-09-30 20:14:42 +02:00
Nico Schottelius
fb76e81f17 update configuration
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2010-09-30 19:09:21 +02:00
Nico Schottelius
c24cf52ce4 seperate loading from execution
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2010-09-30 19:08:51 +02:00
Nico Schottelius
9813c38657 add preprocessor
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2010-09-29 20:28:31 +02:00
Nico Schottelius
0157f5a8bc remove obsolete cdist-explore
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2010-09-29 19:01:09 +02:00
Nico Schottelius
9116df2edd add more functions to cdist-config
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2010-09-29 18:55:18 +02:00
Nico Schottelius
c0c01187be finish explorer builder
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2010-09-29 18:53:25 +02:00
Nico Schottelius
569d85e8f5 add script to build a new explorer
Did I play too much freeciv?

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2010-09-29 09:26:26 +02:00
Nico Schottelius
8293dc4eed prototype for building the configuration
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2010-09-29 09:13:43 +02:00