motd and init files added
This commit is contained in:
parent
3b6e17319d
commit
e577efdd82
2 changed files with 21 additions and 0 deletions
15
dot-cdist/manifest/init
Normal file
15
dot-cdist/manifest/init
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
|
||||||
|
case "$__target_host" in
|
||||||
|
localhost)
|
||||||
|
# Indicate that the target host is configured with cdist
|
||||||
|
__file /etc/cdist-configured
|
||||||
|
|
||||||
|
# Copy
|
||||||
|
__file /etc/motd --state present --source "$__type/motd"
|
||||||
|
|
||||||
|
__package emacs --state present
|
||||||
|
|
||||||
|
__timezone Europe/Zurich
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
6
dot-cdist/type/motd
Normal file
6
dot-cdist/type/motd
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
# Use cdist defaults
|
||||||
|
__motd
|
||||||
|
|
||||||
|
# Supply source file from a different type
|
||||||
|
__motd --source "$__type/files/my-motd"
|
||||||
|
|
Loading…
Add table
Reference in a new issue