HomePhorge

maint: Refactor suntab and aixtab filetype
d2b4f089f324Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

maint: Refactor suntab and aixtab filetype

Apply the create/do_stuff/delete cycle of a temp file that is explained
in tempfile.rb to the suntab and aixtab filetype. This way the temporary
file should always be removed.

The name of the temporary file was changed so it will be easier to stub
this single call in tests - without stubbing tempfile creations in other
places (like inside Puppet::Util.execute) at the same time.

Details

Provenance
Stefan Schulte <stefan.schulte@taunusstein.net>Authored on
Josh Cooper <josh@puppetlabs.com>Committed on Aug 10 2012, 12:40 AM
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU4c91b6589cc0: Merge pull request #1016 from pcarlisle/maint/2.7.x/mocha12
Branches
Unknown
Tags
Unknown

Event Timeline

Josh Cooper <josh@puppetlabs.com> committed rPUd2b4f089f324: maint: Refactor suntab and aixtab filetype (authored by Stefan Schulte <stefan.schulte@taunusstein.net>).Aug 10 2012, 12:40 AM