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

Registry : Munging failed for value

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: registry
    • Environment:

      Server 2012R2 with stdlib 4.12.0 and registry 1.1.4

    • Template:
      MODULES Bug Template
    • Method Found:
      Needs Assessment
    • QA Risk Assessment:
      Needs Assessment

      Description

      Module Version: 1.1.4
      Puppet Version: 4.5.3
      OS Name/Version: Server 2012R2

      Running into the following error, which I understood was to be resolved under ticket 3195:

      Error: Failed to apply catalog: Parameter path failed on Registry_key[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\LSA]: Munging failed for value "HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control
      LSA" in class path: Cannot alias Registry_key[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\LSA] to "hklm\\system\\currentcontrolset\\control
      lsa" at /etc/puppetlabs/code/environments/production_dev/modules/registry/manifests/value.pp:73; resource ["Registry_key", "hklm\\system\\currentcontrolset\\control\\lsa"] already declared at /etc/puppetlabs/code/environments/production_dev/modules/registry/manifests/value.pp:73 at /etc/puppetlabs/code/environments/production_dev/modules/registry/manifests/value.pp:73

      Please take a moment and attach any relevant log output and/or manifests. This will help us immensely when troubleshooting the issue.

      I'm attempting to set the registry value as below:
      registry::value

      { 'LocalAccountBlankPW': key => 'HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\LSA', value => 'LimitBlankPasswordUse', type => 'dword', data => '1', }

      I have validated that the new 1.1.4 version of the Registry module is being used as well.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            rbreiten Richard Breiten
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support