Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-2721

insert_ini_section can not handle multiple sections

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 3.11.0, 3.10.2, 3.7.6
    • Fix Version/s: 3.12.0, 3.10.3, 3.7.7
    • Component/s: None
    • Labels:
      None

      Description

      insert_ini_section can not handle multiple sections.

      If you use insert_ini_section and iterate over multiple sections insertions are not targeted to the correct section. Thus the bundle is only useful in cases you want to manage a single section.

      It should insert the proper configs after the correct section.

        Attachments

          Activity

            People

            • Assignee:
              a10042 Nick Anderson
              Reporter:
              a10042 Nick Anderson
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel