Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
-
Coremunity
-
Platform Core KANBAN
-
Needs Assessment
-
Enhancement
-
-
Needs Assessment
Description
Puppet's Puppet::Util.replace_file predates Puppet::FileSystem. Now that we have different filesystem implementations (windows, posix, jruby), we should add a replace_file method and respective implementations. The new version should raise standard Errno exceptions. On Windows specifically, it shouldn't leak Puppet::Util::Windows::Errors, as it forces the caller to have conditional logic as to which exceptions it may need to catch.