Shell Kommandos
native Kommandos oder Shell-Skripte ausführen

Obwohl Salt zahlreiche fertige Sate-Module bietet, geht es nicht ohne native Kommandos oder Shell-Skripte
Beispiel Netdata
Achten Sie auf >- hinter - onlyif und die nachfolgende sechsfache Einrückung. Diese Syntax verhindert, dass der Doppelpunkt aus Status: active von Yaml interpretiert wird und stattdessen ungefiltert an die Shell weitergereicht wird.
onlyif: A command to run as a check, run the named command only if the command passed to theonlyifoption returns a zero exit status
unless: A command to run as a check, only run the named command if the command passed to theunlessoption returns a non-zero exit status

Mehr Informationen zum Thema Shell-Kommandos hier.
Netdata deinstallieren:
Last updated