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

Registry Module Autorequires fails for "32:" prefixed paths

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Ready for Engineering
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: registry
    • Labels:
    • Template:
    • Epic Link:
    • Team:
      Windows
    • Story Points:
      1

      Description

      Found during testing of MODULES-1723 fixes - when you use the `32:` prefixes, they don't pick up the autorequires correctly so they require explicit ordering.

      $regkeytop = 'HKEY_LOCAL_MACHINE\SOFTWARE\Puppet Labs\RegistryModuleTests'
       
      registry_value { "32:$regkeytop\\registry_key\\string_value":
        ensure => present,
        type   => string,
        data   => "This is a 32-bit test",
        #require  => Registry_key["32:$regkeytop\\registry_key"],
      }
       
      registry_key { "32:$regkeytop\\registry_key":
        ensure => present,
      }
      

      Attempt the above with the commented out line and then without.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              rob Rob Reynolds
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:

                  Zendesk Support