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

edit_line bundle manage_variable_values_ini should not edit fields

    XMLWordPrintable

    Details

    • Story Points:
      3

      Description

      The manage_variable_values_ini edit_line bundle in lib/files.cf now tries to edit fields in the particular INI file section. But it also deletes all lines from the section and then inserts new lines from based on the given data. So trying to edit the fields doesn't make sense, especially because the evaluation deletes all the lines in the section before trying to edit the fields. But in general, it should just delete everything in the section and insert the new lines. There is set_variable_values_ini for editing values in an INI section.

        Attachments

          Activity

            People

            • Assignee:
              a10042 Nick Anderson
              Reporter:
              vpodzime Vratislav Podzimek
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel