cdist/conf/manifest/init

34 lines
773 B
Text
Raw Normal View History

#
# 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
;;
# Alias in /etc/hosts for localhost
cdist-archlinux)
__package_pacman django --state deinstalled
__package_pacman wireshark-cli --state installed
__package_pacman zsh --state installed
;;
cdist-gentoo)
__package tree --ensure installed
;;
# Real machines
ikq*)
__package_apt zsh --state installed
;;
esac