case "$__target_host" in localhost) #target is configured with cdist __file /etc/cdist-configured # motd from th file directory __motd --source "$__files/motd" __timezone Europe/Zurich # types to be used __my_computer ;; esac