diff --git a/bin/cdist-config b/bin/cdist-config index 03675a6f..1618da76 100755 --- a/bin/cdist-config +++ b/bin/cdist-config @@ -33,7 +33,7 @@ cd "${CDIST_LIBDIR}" for __cdist_lib in *; do . "./${__cdist_lib}" done - +set +e #echo $CDIST_CONFIG #echo $CDIST_LIBDIR diff --git a/bin/cdist-explore b/bin/cdist-explore index 7a2a3a4e..74a5b31d 100755 --- a/bin/cdist-explore +++ b/bin/cdist-explore @@ -19,8 +19,6 @@ # # -#reports="hostname os" - . cdist-config cd ${CDIST_LIBDIR} @@ -29,7 +27,6 @@ for func in cdist_explore_*; do #func="cdist_explore_$report" var="__$func" - . "${CDIST_LIBDIR}/${func}" eval $var=\"\$\($func\)\" eval echo $var=\\\"\$$var\\\" done diff --git a/conf/lib/cdist_explore_pkg_system b/conf/lib/cdist_explore_pkg_system index 80151463..b8a44bab 100755 --- a/conf/lib/cdist_explore_pkg_system +++ b/conf/lib/cdist_explore_pkg_system @@ -21,6 +21,7 @@ cdist_explore_pkg_system() { -# case $(cdist_explore_os) - : + case "$(cdist_explore_os)" in + archlinux) echo pacman ;; + esac } diff --git a/conf/lib/cdist_package_install b/conf/lib/cdist_package_install index 3d150ec4..8632cd11 100644 --- a/conf/lib/cdist_package_install +++ b/conf/lib/cdist_package_install @@ -21,6 +21,6 @@ cdist_package_install() { - + : }