Commit graph

270 commits

Author SHA1 Message Date
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