begin to write real world manifest

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-02-02 14:02:29 +01:00
parent 85154b87a4
commit 24d28b4a06
2 changed files with 8 additions and 15 deletions

View file

@ -46,18 +46,6 @@ __cdist_abs_mydir="$(cd "$__cdist_mydir" && pwd -P)"
__cdist_myname=${0##*/};
__cdist_abs_myname="$__cdist_abs_mydir/$__cdist_myname"
################################################################################
# Generate list of types
#
# FIXME: ignore error?
cd "$__cdist_type_dir"
for __cdist_type in ${__cdist_type_dir}/*; do
__cdist_types="$__cdist_types $__cdist_type"
done
cd "$__cdist_abs_mydir"
################################################################################
# Function list
#

View file

@ -1,5 +1,10 @@
case "$__target_hostname" in
thilo)
echo "postgresql"
#
# This is a sample manifest, but used in real world
#
# All ikqs get a sample file
case "$__core_hostname" in
ikq*)
__file cdist-config --source /home/users/nico/p/cdist/bin/cdist-config --destination /usr/bin/cdist-config
;;
esac