diff --git a/bin/cdist-config b/bin/cdist-config index eafb0bc7..14341f14 100755 --- a/bin/cdist-config +++ b/bin/cdist-config @@ -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 # diff --git a/conf/manifests/init b/conf/manifests/init index 42431fcc..9439fecc 100644 --- a/conf/manifests/init +++ b/conf/manifests/init @@ -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