1.3 KiB
1.3 KiB
- cdist #1: Introduction
- Lecture content
- Objective
- 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
- 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
- Lecture content
- init.file
- Types manifest for installing packages or insuring that packages are installed
cdist #1: Introduction
Lecture content
Objective
Steps
init.file
- sami@cdist/manifest$ cat init
case "$__target_host" in localhost) #target is configured with cdist __file /etc/cdist-configured
__motd –source "$__files/motd"
__timezone Europe/Zurich
;; esac
Types manifest for installing packages or insuring that packages are installed
- __package emacs –state present