file.sed does not show diff
The file.sed command does not show a diff of the output, only 'File x is set to be updated'. This is not very useful in reporting as it means we have to review the state file itself to see what change will be made. This is in comparison to file.managed that does show a diff of the changes scheduled to be made in the Comment: block of output.
FWIW, file.sed is officially deprecated. These sorts of operations should be accomplished in file.replace.
good to know. thanks
On Mar 28, 2014, at 10:09 AM, Mike Place [email protected] wrote:
FWIW, file.sed is officially deprecated. These sorts of operations should be accomplished in file.replace.
— Reply to this email directly or view it on GitHub.
sweeet :-)
On Jul 28, 2015, at 2:22 PM, Nicole Thomas [email protected] wrote:
Closed #11597 https://github.com/saltstack/salt/issues/11597.
— Reply to this email directly or view it on GitHub https://github.com/saltstack/salt/issues/11597#event-367663315.