*** cdist #1: Introduction
**** Lecture content
***** Objective
****** Begin to use cdist
***** Steps
****** Install cdist locally https://www.cdi.st/manual/latest/cdist-quickstart.html
****** Create a new cdist configuration directory in ~/ungleich-learning-circle/USERNAME/dot-cdist
****** Create an empty initial manifest
****** Commit that status
****** Ensure that you can login as root to localhost via ssh without a password
****** Configure cdist to configures the motd of your localhost
******* Ensure you have a case block matching on $__target_host
******* Use the -c parameter to cdist to specify the configuration directory
******* Use the -vv parameter to get more verbose output
****** Configure cdist to create the file /etc/cdist-configured
****** Configure cdist to setup the timezone on your local computer
****** Configure cdist to ensure emacs is installed
****** Ensure that in the end all changes are committed in your repository

* init.file 
- sami@cdist/manifest$ cat init 
case "$__target_host" in
     localhost)
     #target is configured with cdist
     __file /etc/cdist-configured

     # motd from th file directory
     __motd --source "$__files/motd"

     __timezone Europe/Zurich

     
;;
esac


* Types manifest for installing packages or insuring that packages are installed
- __package emacs --state present
