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

puppetlabs-wsus_client module purge_values broken with latest puppetlabs-registry module

    XMLWordPrintable

    Details

    • Template:
      MODULES Bug Template
    • Team:
      Windows
    • Method Found:
      Customer Feedback
    • QA Risk Assessment:
      Manual

      Description

      When setting purge_values => true on the puppetlabs-wsus_client module with the puppetlabs-registry module the catalog application on agents error out with the following error.

       Basic Info
      Module Version: puppetlabs-wsus_client 1.0.3
      Module Version: puppetlabs-registry 2.0.1**
      Puppet Version: Agent: 5.3.3
      OS Name/Version: Windows Server 2016

       

      *Puppet Manifest*

       

      class { 'wsus_client':     
        server_url => 'http://wsus.test.com:8530',     
        enable_status_server => true,     
        target_group => 'testgroup',     
        purge_values => true, 
      }
      

      *Error Message*

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

      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
      Source: /Stage[main]/Wsus_client/Registry_key[HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate]File: /etc/puppetlabs/code/environments/production/modules/wsus_client/manifests/init.ppLine: 33

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              tragiccode Michael Fyffe
              QA Contact:
              Erick Banks Erick Banks
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:

                  Zendesk Support