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

Kept classes are not defined when editing fields in a file in warn only mode

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 3.6.6, 3.7.2
    • Fix Version/s: 3.10.0, 3.9.2, 3.7.5
    • Component/s: Promise type: files
    • Labels:
      None
    • Environment:
      Linux
    • Platform:
      Any
    • Steps to reproduce:
      Acceptance/unit test attached

      Description

      i'm doing a file edit (of /etc/shadow) in warn_only, to check that a password is correct
      If the password is incorrect, I do get error classes defined. However, if the password is valid, no class is defined (I was expecting a "kept" classes)

        Attachments

          Activity

            People

            • Assignee:
              a10003 Eystein Maloy Stenberg
              Reporter:
              ncharles Nicolas Charles
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel