Commit graph

285 commits

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