1.5 KiB
1.5 KiB
- cdist #2: Your first cdist type
cdist #2: Your first cdist type
Lecture content
Objective
Steps
- Mark the type as a singleton type (If a type is flagged as a singleton, it may be used only once per host.)
- Create a `manifest` file in it
- Use this type to install the following packages: zsh, mosh, emacs, nmap, sipcalc
-
Edit the initial manifest and use __my_computer - Here we have to simply add __my_computer in the types file localhost
- Match using the $__target_host variable
- Ensure that permissions and ownership are correct
- Use magit inside emacs for that
Documentation steps to be done in cdist.org
- Create a new org document named `cdist.org` in the safind . -name "~/.emacs"me folder as the learning.org file
- Explain the difference between a singleton and non-singleton type
- Explain the difference between the different verbosity levels
- Document (copy&paste) some of the cdist runs in a "log" section```find . -name "~/.emacs"