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

setting (Default) registry::value explicitly requires value => '(Default)' assignment

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Accepted
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: registry
    • Labels:
      None
    • Environment:

      puppet 3.8.1 / Windows

      forge registry module v1.1.0

    • Template:

      Description

      To set the (Default) value of a key one has to explicitly assign the value => '(Default)':

      registry::value {'command':
            key   => 'HKEY_CLASSES_ROOT\*\shell\Edit with Notepad++\command',
            type  => 'string',
            value => '(default)',
            data  => "pathtocommand %1",
      }
      

      However, this does not work and creates a new value default instead of setting the keys default value:

      registry::value {'(default)':
            key   => 'HKEY_CLASSES_ROOT\*\shell\Edit with Notepad++\command',
            type  => 'string',
            data  => "pathtocommand %1",
      }
      

      Since the value should default to resource title, I consider this a bug, at least counter intuitive

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            helge Daniel Helgenberger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Zendesk Support