forked from ungleich-public/cdist
3fdb5a2e24
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
26 lines
610 B
Text
Executable file
26 lines
610 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 $__manifests"
|
|
|
|
set -x
|
|
|
|
# All systems get a file /etc/cdist-managed, so the sysadmin knows
|
|
# who manages the configuration.
|
|
#__file /etc/cdist-managed --type file
|
|
|
|
# All ikqs get a sample file
|
|
case "$__target_host" in
|
|
localhost)
|
|
__issue iddoesnotmatterhere
|
|
__file test --type file --destination /tmp/cdist-testfile
|
|
;;
|
|
|
|
icarus)
|
|
__package tree --ensure installed
|
|
;;
|
|
|
|
esac
|