cdist configuration management Latest manual: https://www.cdi.st/manual/latest/ Home page: https://www.cdi.st
Find a file
2011-02-16 16:54:54 +01:00
bin Merge remote-tracking branch 'sans/master' 2011-02-14 12:26:23 +01:00
conf add support for gentoo to explorer pgk_system 2011-02-08 13:07:24 +01:00
doc more todo past 1.0 2011-02-14 13:07:24 +01:00
.gitignore add gitignore 2011-01-15 14:39:17 +01:00
HACKERS_README add stuff to the readme that should work today (or vanishes from readme today) 2011-02-14 13:25:56 +01:00
Makefile more hints 2011-02-04 23:33:12 +01:00
README Describe latest features 2011-02-02 21:49:01 +01:00
REAL_README cleanup 2011-02-04 23:22:01 +01:00
TODO-1.0 +todos 2011-02-16 16:24: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

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

# 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

# Soon working:
__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"