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

puppetlabs-registry : Cannot manage HKEY_CURRENT_USER registry keys with puppetlabs-registry

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: registry
    • Labels:
      None
    • Template:
      MODULES Bug Template
    • Method Found:
      Needs Assessment
    • QA Risk Assessment:
      Needs Assessment

      Description

      Overview

      Customer would like to manage `HKEY_CURRENT_USER` registry keys with puppetlabs-registry module to support windows SOE but the module does not allow this.

       

      Expected result

      Expected to be able to manage keys starting `HKEY_CURRENT_USER`

       

      Actual result

      The module fails with error "Unsupported predefined key". This is generated by a case statement in the module itself:

      https://github.com/puppetlabs/puppetlabs-registry/blob/2.0.1/lib/puppet_x/puppetlabs/registry.rb#L123

       

      Workaround

      There is no workaround

       

      Customer impact

      Customer unable to fully implementing SOE for windows with Puppet

       

      Support expectation

      Updated module to allow writing `HKEY_CURRENT_USER` or explanation of why this is impossible along with a better error message, eg "puppetlabs-registry does not support writing #{path} because..."

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            zachary.law Zachary Law
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:

                Zendesk Support