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

inifile : adding and removing sections adds empty rows

    Details

    • Type: Bug
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: inifile
    • Labels:
      None
    • Environment:

      Puppet 5.4

      Inifile version 2.2.0

    • QA Risk Assessment:
      Needs Assessment

      Description

      Basic Info
      Module Version: 2.20
      Puppet Version: 5.4
      OS Name/Version: Ubuntu 16.04

      When a new section with one setting is added an empty rows is added before the section name.

      When removing the last setting from a section the empty row above the removed section is not removed.

      Desired Behavior:

      Periodic adding and removing on a one-setting-section should not add empty rows to the configuration file.

      Actual Behavior:

      The configuration file is increasing one empty row for each add-remove cycle.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rogermartensson Roger MÃ¥rtensson
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Zendesk Support