add stuff to the readme that should work today (or vanishes from readme today)

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-02-14 13:25:56 +01:00
parent 42de01e782
commit 9a9ae7c114

View file

@ -23,17 +23,26 @@ object_tmp=/tmp/localhost/objects
explorer_tmp=/tmp/localhost/explorers explorer_tmp=/tmp/localhost/explorers
# Test first level manifest execution # Test first level manifest execution
__cdist_config=$(pwd -P)/conf cdist-manifest-init localhost $object_tmp __cdist_config=$(pwd -P)/conf cdist-manifest-init localhost "$object_tmp"
# See what it generated # See what it generated
find $object_tmp find $object_tmp
# Run explorer on a "remote" host # Run explorer on a "remote" host
__cdist_config=$(pwd -P)/conf cdist-explorer-run localhost $explorer_tmp __cdist_config=$(pwd -P)/conf cdist-explorer-run localhost "$explorer_tmp"
# Display result # Display result
find $explorer_tmp find $explorer_tmp
# Soon working: # Soon working:
__cdist_config=$(pwd -P)/conf cdist-manifest-recursive-run localhost $object_tmp __cdist_config=$(pwd -P)/conf cdist-manifest-recursive-run localhost "$object_tmp"
################################################################################
# Further in the future
#
# Generate code for one object
__cdist_config=$(pwd -P)/conf cdist-code-gen localhost "$object_tmp" __file/etc-issue
# Generate code for all objects in object dir
__cdist_config=$(pwd -P)/conf cdist-code-gen-all localhost "$object_tmp"