2020-04-30 10:00:54 +00:00
|
|
|
case "$__target_host" in
|
|
|
|
localhost)
|
|
|
|
# Indicate that the target host is configured with cdist
|
|
|
|
__file /etc/cdist-configured
|
|
|
|
|
|
|
|
# Copy a cool motd from the type's file directory
|
2020-05-01 08:55:54 +00:00
|
|
|
__motd --source "$__files/motd"
|
2020-04-30 10:00:54 +00:00
|
|
|
|
|
|
|
__timezone Europe/Zurich
|
2020-05-01 09:39:32 +00:00
|
|
|
|
|
|
|
__my_computer
|
2020-05-07 10:01:09 +00:00
|
|
|
|
2020-05-11 07:26:05 +00:00
|
|
|
__my_nginx
|
2020-05-07 10:01:09 +00:00
|
|
|
|
2020-05-11 07:26:05 +00:00
|
|
|
require="__my_nginx" __my_nginx_site woo.com
|
|
|
|
require="__my_nginx" __my_nginx_site chee.se
|
2020-04-30 10:00:54 +00:00
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|