2011-02-02 13:02:29 +00:00
|
|
|
#
|
|
|
|
# This is a sample manifest, but used in real world
|
|
|
|
#
|
|
|
|
|
2011-02-24 14:14:00 +00:00
|
|
|
# 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
|
|
|
|
|
2011-02-22 16:25:31 +00:00
|
|
|
# All systems get a file /etc/cdist-managed, so the sysadmin knows
|
|
|
|
# who manages the configuration.
|
2011-02-22 22:22:27 +00:00
|
|
|
#__file /etc/cdist-managed --type file
|
2011-02-22 16:25:31 +00:00
|
|
|
|
2011-02-02 13:02:29 +00:00
|
|
|
# All ikqs get a sample file
|
2011-02-24 14:14:00 +00:00
|
|
|
case "$__target_host" in
|
2011-02-22 16:25:31 +00:00
|
|
|
localhost)
|
2011-02-07 17:09:00 +00:00
|
|
|
__issue iddoesnotmatterhere
|
2011-02-23 08:10:17 +00:00
|
|
|
__file test --type file --destination /tmp/cdist-testfile
|
2011-02-18 23:01:39 +00:00
|
|
|
;;
|
2011-02-22 15:11:07 +00:00
|
|
|
|
|
|
|
icarus)
|
|
|
|
__package tree --ensure installed
|
|
|
|
;;
|
|
|
|
|
2010-10-31 23:09:30 +00:00
|
|
|
esac
|