Yaml verstehen
Yaml - Fluch und Segen zugleich
Yaml, state-id und Name
www-data:
user.present:
- fullname: Webserver
- shell: /usr/sbin/nologin
- home: /var/www
- createhome: true
- system: true
- groups:
- www-data
ist identisch zu:
create-webserver-user:
user.present:
- name: www-data
- fullname: Webserver
- shell: /usr/sbin/nologin
- home: /var/www
- createhome: true
- system: true
- groups:
- www-data
ist identisch zu:
www-data-user:
user:
- present
- name: www-data
- fullname: Webserver
- shell: /usr/sbin/nologin
/tmp/datei.txt:
file.managed:
- contents: Hallo Welt
datei-pflegen:
file.managed:
- name: /tmp/datei.txt
- contents: Hallo Welt

Last updated