HomePhorge

(#8119) Write reports to a temporary file and move them into place
b1af29be82b4Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#8119) Write reports to a temporary file and move them into place

When writing reports, there is a window in between opening and writing to the
report file when the report file exists as an empty file. This makes writing
report processors a little annoying as they have to deal with this case. This
writes the report into a temporary file then renames it to the report file.

Signed-off-by: Patrick Carlisle <patrick@puppetlabs.com>

Details

Provenance
Ricky Zhou <ricky@fedoraproject.org>Authored on
Patrick Carlisle <patrick@puppetlabs.com>Committed on Dec 20 2011, 1:07 AM
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU45f0855bd6be: Merge pull request #284 from MaxMartin/ticket/2.7.x/10109-composite-namevars
Branches
Unknown
Tags
Unknown

Event Timeline

Patrick Carlisle <patrick@puppetlabs.com> committed rPUb1af29be82b4: (#8119) Write reports to a temporary file and move them into place (authored by Ricky Zhou <ricky@fedoraproject.org>).Dec 20 2011, 1:07 AM