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

action_policy warn produces errors

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.7
    • Component/s: Logging
    • Labels:
      None

      Description

      When using a body action with action_policy => "warn" I get not only warnings, but errors too.

      2015-06-15T16:59:36+0200 error: /default/mytest/methods/'y2'/default/test1/files/'/tmp/test1'[0]: Warning promised, need to create file '/tmp/test1'
       2015-06-15T16:59:36+0200 warning: /default/mytest/methods/'y2'[0]: Method 'test1' invoked repairs, but only warnings promised

      Since I asked for warning I don't expected to have warnings categorized as errors.{{

        Attachments

          Activity

            People

            • Assignee:
              a10040 Kristian Amlie
              Reporter:
              peckpeck Benoît Peccatte
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel