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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Accepted
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • registry
    • None
    • puppet 3.8.1 / Windows

      forge registry module v1.1.0

    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

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

            Dates

              Created:
              Updated:

              Zendesk Support