2011-02-14 10:16:50 +00:00
|
|
|
cat << eof
|
|
|
|
|
2010-12-01 19:06:07 +00:00
|
|
|
Hey hackers,
|
|
|
|
|
|
|
|
cdist has not been published, you're accessing a early in developent
|
|
|
|
code.
|
|
|
|
|
|
|
|
Do not believe anything written in cdist, besides what's written in this file
|
|
|
|
(everything else may be future stuff for the initial release).
|
|
|
|
|
|
|
|
-- Nico, 20101201
|
|
|
|
|
|
|
|
|
2011-02-03 12:24:56 +00:00
|
|
|
What you can do so far: (executed from top level directory)
|
2010-12-01 19:06:07 +00:00
|
|
|
|
2011-02-14 10:16:50 +00:00
|
|
|
The following code will get executed if you run this README:
|
|
|
|
|
|
|
|
eof
|
|
|
|
|
2010-12-01 19:06:07 +00:00
|
|
|
# prepare use:
|
|
|
|
export PATH="$PATH:$(pwd -P)/bin"
|
2011-02-07 23:08:05 +00:00
|
|
|
object_tmp=/tmp/localhost/objects
|
|
|
|
explorer_tmp=/tmp/localhost/explorers
|
2010-12-01 19:06:07 +00:00
|
|
|
|
2011-02-02 20:49:01 +00:00
|
|
|
# Test first level manifest execution
|
2011-02-07 23:08:05 +00:00
|
|
|
__cdist_config=$(pwd -P)/conf cdist-manifest-init localhost $object_tmp
|
2011-02-02 20:49:01 +00:00
|
|
|
|
|
|
|
# See what it generated
|
2011-02-07 23:08:05 +00:00
|
|
|
find $object_tmp
|
2011-02-04 21:51:16 +00:00
|
|
|
|
|
|
|
# Run explorer on a "remote" host
|
2011-02-07 23:08:05 +00:00
|
|
|
__cdist_config=$(pwd -P)/conf cdist-explorer-run localhost $explorer_tmp
|
2011-02-04 21:51:16 +00:00
|
|
|
|
|
|
|
# Display result
|
2011-02-07 23:08:05 +00:00
|
|
|
find $explorer_tmp
|
2011-02-06 14:52:28 +00:00
|
|
|
|
|
|
|
# Soon working:
|
2011-02-07 23:08:05 +00:00
|
|
|
__cdist_config=$(pwd -P)/conf cdist-manifest-recursive-run localhost $object_tmp
|
2011-02-06 14:52:28 +00:00
|
|
|
|