[balazs] finished exercises
This commit is contained in:
parent
bd437e3a0d
commit
4fb34973f0
3 changed files with 20 additions and 0 deletions
6
balazs/dot-cdist/files/motd
Normal file
6
balazs/dot-cdist/files/motd
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
_____ __ _____________ ______ ______
|
||||||
|
___ | / /___ ____ /__ /( )_______ ___________ ____ /________________ /_______ ___ _____________
|
||||||
|
__ |/ /_ / / /_ /__ /_|/__ ___/ _ ___/_ / / /_ __ \ _ \_ ___/_ __ \ __ `/_ | / / _ \_ __ \
|
||||||
|
_ /| / / /_/ /_ / _ / _(__ ) / /__ _ /_/ /_ /_/ / __/ / _ / / / /_/ /__ |/ // __/ / / /
|
||||||
|
/_/ |_/ \__,_/ /_/ /_/ /____/ \___/ _\__, / /_.___/\___//_/ /_/ /_/\__,_/ _____/ \___//_/ /_/
|
||||||
|
/____/
|
14
balazs/dot-cdist/manifest/init
Normal file
14
balazs/dot-cdist/manifest/init
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
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
|
||||||
|
__file /etc/motd --state present --source "$__files/motd"
|
||||||
|
|
||||||
|
__package emacs --state present
|
||||||
|
|
||||||
|
__timezone Europe/Zurich
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
Loading…
Reference in a new issue