support pacman packaging system

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
remotes/origin/1.0 0.1
Nico Schottelius 14 years ago
parent d55c5b509f
commit 39d737014d
  1. 2
      bin/cdist-config
  2. 3
      bin/cdist-explore
  3. 5
      conf/lib/cdist_explore_pkg_system
  4. 2
      conf/lib/cdist_package_install

@ -33,7 +33,7 @@ cd "${CDIST_LIBDIR}"
for __cdist_lib in *; do
. "./${__cdist_lib}"
done
set +e
#echo $CDIST_CONFIG
#echo $CDIST_LIBDIR

@ -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

@ -21,6 +21,7 @@
cdist_explore_pkg_system()
{
# case $(cdist_explore_os)
:
case "$(cdist_explore_os)" in
archlinux) echo pacman ;;
esac
}

@ -21,6 +21,6 @@
cdist_package_install()
{
:
}

Loading…
Cancel
Save