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

PR (2420): Disambiguation of handling source_or_content for fileservers vs local re... - dreamlibrarian

    Details

    • Type: Task
    • Status: Closed
    • Priority: Normal
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Template:

      Description

      Disambiguation of handling source_or_content for fileservers vs local re...

      Pull Request Description


      As of current release, due to the use of source_or_content.full_path, the hostname is stripped from attempts to handle file_content calls in type/file.rb. Because of this, it correctly calls file_metadata from the proper server, but then calls the puppetmaster instead of the remote fileserver for content retrieval, which fails.

      This resolution might still be a bit naive, but it mitigates the issue pretty neatly.


      (webhooks-id: 66299c0f4151ee112d8a4123719345cf)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                gepetto-bot gepetto-bot
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support