-
Notifications
You must be signed in to change notification settings - Fork 5.6k
[BUG] Silent flag does not work on file.directory recurse #60597
Copy link
Copy link
Open
Labels
ConfirmedSalt engineer has confirmed bug/feature - often including a MCVESalt engineer has confirmed bug/feature - often including a MCVEbugbroken, incorrect, or confusing behaviorbroken, incorrect, or confusing behaviorseverity-medium3rd level, incorrect or bad functionality, confusing and lacks a work around3rd level, incorrect or bad functionality, confusing and lacks a work around
Milestone
Metadata
Metadata
Assignees
Labels
ConfirmedSalt engineer has confirmed bug/feature - often including a MCVESalt engineer has confirmed bug/feature - often including a MCVEbugbroken, incorrect, or confusing behaviorbroken, incorrect, or confusing behaviorseverity-medium3rd level, incorrect or bad functionality, confusing and lacks a work around3rd level, incorrect or bad functionality, confusing and lacks a work around
Type
Fields
Give feedbackNo fields configured for issues without a type.
Description
Setting
silent=Trueinfile.manageddoes not prevent individual file changes from being printed.Setup
Per the documentation, under recurse: "If
silentis defined, individual file/directory change notifications will be suppressed."As defined in the sls file, silent is set to true.
But the output still shows:
and on and on and on for every individual log file
Steps to Reproduce the behavior
Define
silentin file.directory state, with recurse optionsExpected behavior
A single "success" message, or something similar. No output for every individual file and/or directory.
Screenshots
N/A
Versions Report
salt --versions-report
Additional context
Add any other context about the problem here.