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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Won't Fix
    • None
    • None
    • registry
    • None
    • Needs 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

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

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support