ungleich-learning-circle/balazs/dot-cdist/manifest/init
llnu 3141840cf4 Reverted testing the requirement changes, added messaging, and gencode
remote to reload nginx after the configuration gets writte

Modified-by: llnu <llnu@protonmail.ch>
2020-05-11 09:26:05 +02:00

19 lines
408 B
Text

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
__motd --source "$__files/motd"
__timezone Europe/Zurich
__my_computer
__my_nginx
require="__my_nginx" __my_nginx_site woo.com
require="__my_nginx" __my_nginx_site chee.se
;;
esac