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 |
|