Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-3030

Resolve Tempfile handling issues

    Details

    • Type: Task
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 3.7.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Epic Link:
    • Story Points:
      2
    • Sprint:
      2014-08-20, 2014-09-03

      Description

      See linked PE ticket; I will add a more precise description of the work needed here once we've gotten a bit further in investigating our options, but just wanted to get a 3.7.0 ticket in place because I do think some change will be needed before then.

      The gist of the issue is that the `Tempfile` class may not behave well in long-running JRuby processes, and we use it pretty heavily in YAML dumps via the `replace_file` method in `util.rb`. We may need to modify that implementation to use a regular File object instead of a `Tempfile` object.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                chris Chris Price
                QA Contact:
                Eric Thompson
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support