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

Resolve Tempfile handling issues

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • PUP 3.7.0
    • None
    • None
    • 2
    • 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

              Unassigned Unassigned
              chris Chris Price
              Eric Thompson Eric Thompson
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support