cdist/conf/manifest/init
Steven Armstrong 614ff21f4a /deinstalled/uninstalled/
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-03-03 10:37:49 +01:00

32 lines
791 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 "We could access other manifests in $__manifest"
__file /etc/cdist-configured --type file
case "$__target_host" in
# Everybody has this
localhost)
__issue iddoesnotmatterhere
__file test --type file --destination /tmp/cdist-testfile
;;
# Alias in /etc/hosts for localhost
cdist-archlinux)
__package_pacman django --state uninstalled
__package_pacman wireshark-cli --state installed
__package_pacman zsh --state installed
;;
cdist-gentoo)
__package tree --state installed
;;
# Real machines
ikq*)
__package_apt zsh --state installed
__package_apt apache2 --state uninstalled
;;
esac