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

provide a means to append data to registry entries

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Accepted
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: registry
    • Labels:
      None
    • Template:
    • Epic Link:
    • Team:
      Windows

      Description

      Overview

      I would like to be able to conditionally append data to registry keys based on matching a regex - a bit like what we do with file_line

      Example

      Say you have a variable like $Path which is different on each system and populated as programs are installed. I would like to append :c:/Program Files/PuppetLabs/Puppet/bin if it is not present, so that I don't have to cd to the directory to run Puppet.

      Why not just replace the existing path?

      Doing so nukes any existing customisation by sysadmins or programs.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            geoff.williams Geoff Williams
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Zendesk Support