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-dataist 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-dataist identisch zu:
www-data-user:
  user:
    - present
    - name: www-data
    - fullname: Webserver
    - shell: /usr/sbin/nologin/tmp/datei.txt:
  file.managed:
    - contents: Hallo Weltdatei-pflegen:
  file.managed:
    - name: /tmp/datei.txt
    - contents: Hallo Welt
Last updated