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

Updated functions are not reloaded within a worker process

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Template:

      Description

      If a custom function is updated in an environment the workers will continue to use the old version if they had that loaded already. So with multiple passenger workers you get a situation where some puppet runs use the old version of the function and some use the new version, but all use the new versions of the manifest code.

      To solve this the scope instance for the environment should probably be destroyed after each compilation so the new versions are always loaded in on a new compile. Or just delete the functions from the object.

        Attachments

          Activity

            jsd-sla-details-panel

              People

              • Assignee:
                Unassigned
                Reporter:
                redmine.exporter redmine.exporter
              • Votes:
                3 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: