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

Package source on Windows errors out on deduped installation files

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: PUP 5.3.3
    • Fix Version/s: PUP 4.10.11, PUP 5.3.4
    • Component/s: Windows
    • Labels:
      None
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      With the Windows Data Deduplication feature turned on, the Puppet file and package resources may have presented errors. This behavior has been fixed by no longer treating deduplication reparse points as symbolic links.
    • QA Risk Assessment:
      Needs Assessment

      Description

      We just swapped out a Windows Server 2008 R2 with a Windows Server 2016. We have deduplication enabled on the 2016 server. We have a few Windows machines with Puppet Agent installed. Since swapping to the new server, any module that uses the package resource type errors out with this:

      Error: DeviceIoControl(940, FSCTL_GET_REPARSE_POINT) returned unknown tag 0x80000013:  The operation completed successfully.
      Error: /Stage[main]/Sophos::Install/Package[Sophos Anti-Virus]/ensure: change from 'absent' to 'present' failed: DeviceIoControl(940, FSCTL_GET_REPARSE_POINT) returned unknown tag 0x80000013:  The operation completed successfully.
      

      The only thing I can find about that error is it has something to do with deduplication. I replaced an installation file with a newer one and ran the agent again. The application installed like it did before swapping servers.
      It's not a big deal if this gets fixed for me or not. I'm fine excluding the folder with all my installations from being deduped. I just thought I'd bring it to your attention if this isn't known yet.

      This is the code for the package resource type:

      package { 'Sophos Anti-Virus':
        ensure => installed,
        source => "//server.domain.com/installations/SophosInstallFull.exe"
      }
      

        Attachments

        1. Example.pp
          0.1 kB
        2. irb.logs
          2 kB
        3. Manual-Validation.txt
          21 kB

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  ethan Ethan Brown
                  Reporter:
                  marke72 Mark Earl
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  7 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: