cdist/doc/internal.REMOVE_PRE_1.0/explorer-implementation-ideas.TO_FINISH_AND_DELETE

23 lines
670 B
Text
Raw Normal View History

1) safer and fast version
cat blob | ssh host > tmp;
for var in ...
var=grep ^var= tmp
2) slow & secure
for var in ...
eval var=$(cat single_blob | ssh host"
3) easy & insecure
cat blob | ssh host > tmp; . tmp
4) - rsync here/explorers target/explorers
- ssh target_host for explorer in target/explorers/; do
target/explorers/$explorer > target/cache/explorers/$explorer
done
- rsync target/cache/explorers here/cache/explorers....
- MINUS RSYNC!!!!!!!!!??????????
--------------------------------------------------------------------------------
TO_MAN: EXPLORER VALUES ARE UNTRUSTED (think of webclients and webapps)