2020-04-30 12:00:54 +02: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 10:55:54 +02:00
|
|
|
__motd --source "$__files/motd"
|
2020-04-30 12:00:54 +02:00
|
|
|
|
|
|
|
__timezone Europe/Zurich
|
2020-05-01 11:39:32 +02:00
|
|
|
|
|
|
|
__my_computer
|
2020-05-07 12:01:09 +02:00
|
|
|
|
2020-05-11 09:26:05 +02:00
|
|
|
__my_nginx
|
2020-05-07 12:01:09 +02:00
|
|
|
|
2020-05-11 09:26:05 +02:00
|
|
|
require="__my_nginx" __my_nginx_site woo.com
|
|
|
|
require="__my_nginx" __my_nginx_site chee.se
|
2020-04-30 12:00:54 +02:00
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|