cdist/conf/manifest/init
Nico Schottelius 173c6b0d4e use __package_apt on ikq*
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-02 18:40:13 +01:00

25 lines
532 B
Text
Executable file

#
# This is a sample manifest, but used in real world
#
# This is debug and should not be in a production environment
echo "Running initial manifest for $__target_host"
echo "We could access other manifests in $__manifest"
__file /etc/cdist-configured --type file
case "$__target_host" in
localhost)
__issue iddoesnotmatterhere
__file test --type file --destination /tmp/cdist-testfile
;;
ikq*)
__package_apt zsh --state installed
;;
icarus)
__package tree --ensure installed
;;
esac