cdist configuration management Latest manual: https://www.cdi.st/manual/latest/ Home page: https://www.cdi.st
Find a file
Nico Schottelius c8242ef7da cleanup bin/cdist_tree_wrapper and introduce __cdist_object_source
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-16 22:11:53 +01:00
bin cleanup bin/cdist_tree_wrapper and introduce __cdist_object_source 2011-02-16 22:11:53 +01:00
conf
doc
.gitignore
HACKERS_README finish cdist-object-codegen-all 2011-02-16 20:24:58 +01:00
Makefile
README
REAL_README
TODO-1.0 less todo 2011-02-16 21:57:33 +01:00

cat << eof

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


What you can do so far: (executed from top level directory)

The following code will get executed if you run this README:

eof

# Tell the user what we do, so this script makes sense during execution
set -x

# prepare use:
export PATH="$PATH:$(pwd -P)/bin"
object_tmp=/tmp/localhost/objects
explorer_tmp=/tmp/localhost/explorers
exec_tmp=/tmp/localhost/exec

# Test first level manifest execution
__cdist_config=$(pwd -P)/conf cdist-manifest-init localhost "$object_tmp"

# See what it generated
find "$object_tmp"

# Run explorer on a "remote" host
__cdist_config=$(pwd -P)/conf cdist-explorer-run localhost "$explorer_tmp"

# Display result
find "$explorer_tmp"

# Generate code for all objects in object dir
__cdist_config=$(pwd -P)/conf cdist-object-codegen-all localhost "$object_tmp" "$exec_tmp"

# Display result
find "$exec_tmp"

################################################################################
# Soon working
#

# Generate all objects, including from types that generate objects as well
__cdist_config=$(pwd -P)/conf cdist-manifest-recursive-run localhost "$object_tmp"