Describe latest features

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-02-02 21:49:01 +01:00
parent 77c0153c3f
commit 9c402d4a3e
3 changed files with 8 additions and 9 deletions

View file

@ -14,5 +14,8 @@ What you can do so far:
# prepare use: # prepare use:
export PATH="$PATH:$(pwd -P)/bin" export PATH="$PATH:$(pwd -P)/bin"
## Test config tree wrapper # Test first level manifest execution
cd test && ./cdist-cconfig-tree __cdist_config=$(pwd -P)/conf __cdist_target_host=ikq02.ethz.ch cdist-manifest-init
# See what it generated
find conf/cache

2
README
View file

@ -1 +1 @@
HACHERS_README HACKERS_README

View file

@ -21,6 +21,8 @@
# Print configuration directories - helper for all other scripts # Print configuration directories - helper for all other scripts
# #
# Values can be overriden from outside, so you can
# customise paths as you like (for distributors, geeks and hackers)
: ${__cdist_config:=/etc/cdist} : ${__cdist_config:=/etc/cdist}
: ${__cdist_manifest_dir:=$__cdist_config/manifests} : ${__cdist_manifest_dir:=$__cdist_config/manifests}
: ${__cdist_manifest_init:=$__cdist_manifest_dir/init} : ${__cdist_manifest_init:=$__cdist_manifest_dir/init}
@ -31,12 +33,6 @@
: ${__cdist_cache_hosts:=$__cdist_cache_dir/hosts} : ${__cdist_cache_hosts:=$__cdist_cache_dir/hosts}
: ${__cdist_cache_bin:=$__cdist_cache_dir/bin} : ${__cdist_cache_bin:=$__cdist_cache_dir/bin}
# obsolete?: lib not needed, hosts replaced by manifests, modules by types
: ${__cdist_modules:=$__cdist_config/modules}
: ${__cdist_coredir:=$__cdist_config/core}
# create basedir + tempfile for direct usage # create basedir + tempfile for direct usage
# FIXME: remove on exit # FIXME: remove on exit
: ${__cdist_tmp_dir:=$(mktemp -d "/tmp/cdist.XXXXXXXXXXXX")} : ${__cdist_tmp_dir:=$(mktemp -d "/tmp/cdist.XXXXXXXXXXXX")}