Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-7534

puppetlabs/wsus_client : Module Failing while trying to update the registry

    XMLWordPrintable

    Details

    • Template:
      MODULES Bug Template
    • Acceptance Criteria:
      Hide

      Applying a simple wsus_client manifest should be idempotent when using the puppetlabs-windows module.

      Show
      Applying a simple wsus_client manifest should be idempotent when using the puppetlabs-windows module.
    • Team:
      Windows
    • Story Points:
      1
    • Sprint:
      Windows 2018-08-01, Windows 2018-08-08
    • Method Found:
      Customer Feedback
    • QA Risk Assessment:
      Needs Assessment

      Description

      Basic Info
      Module Version: puppetlabs-wsus_client (v1.0.3)  (affected version above is not showing this version)
      Module Version: puppetlabs-registry (v2.0.1)
      Puppet Version: 4.10.4
      OS Name/Version: Windows 6.1.7601

      Describe your issue in as much detail as possible...

      Desired Behavior: Update the registry with Wsus configuration

      Actual Behavior: Failing as described bellow

       

      The manifest:

      Attached.

       

      Errors:

       

      /Stage[main]/Wsus_client/Registry_key[HKLMSoftwarePoliciesMicrosoftWindowsWindowsUpdate]

      Failed to generate additional resources using 'eval_generate': Parameter path failed on Registry_value[hklm\Software\Policies\Microsoft\Windows\WindowsUpdate\WUServer]: Munging failed for value "hklm\\Software\\Policies\\Microsoft
      Windows
      WindowsUpdate
      WUServer" in class path: Cannot alias Registry_value[hklm\Software\Policies\Microsoft\Windows\WindowsUpdate\WUServer] to "hklm\\software\\policies\\microsoft
      windows
      windowsupdate
      wuserver"; resource ["Registry_value", "hklm\\software\\policies\\microsoft\\windows\\windowsupdate\\wuserver"] already declared at /etc/puppetlabs/code/environments/production/modules/wsus_client/manifests/setting.pp:34

      /Stage[main]/Wsus_client/Registry_key[HKLMSoftwarePoliciesMicrosoftWindowsWindowsUpdateAU]

      Failed to generate additional resources using 'eval_generate': Parameter path failed on Registry_value[hklm\Software\Policies\Microsoft\Windows\WindowsUpdate\AU\UseWUServer]: Munging failed for value "hklm\\Software\\Policies\\Microsoft\\Windows
      WindowsUpdate
      AU
      UseWUServer" in class path: Cannot alias Registry_value[hklm\Software\Policies\Microsoft\Windows\WindowsUpdate\AU\UseWUServer] to "hklm\\software\\policies\\microsoft\\windows
      windowsupdate
      au
      usewuserver"; resource ["Registry_value", "hklm\\software\\policies\\microsoft\\windows\\windowsupdate\\au\\usewuserver"] already declared at /etc/puppetlabs/code/environments/production/modules/wsus_client/manifests/setting.pp:34

       

       

      Can someone take a look into the issue? Its preventing the whole module to work.

        Attachments

        1. windows_wsus.pp
          0.7 kB
          Josef David S. Prado

          Issue Links

            Activity

              People

              Assignee:
              ethan Ethan Brown
              Reporter:
              josefprado Josef David S. Prado
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support