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

Do not print error message if augment file is absent

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: 3.12.0b1
    • Fix Version/s: None
    • Component/s: Evaluation
    • Labels:
      None

      Description

      Additional augment files is cool feature in 3.12, but can we suppress (or better move this report to inform -I level) error messages if file is absent? Just now:

      def.json:
      {
      "augments": [
      "$(sys.workdir)/my_data/$(sys.fqhost).json",
      "$(sys.workdir)/my_data/first.json",
      "$(sys.workdir)/my_data/other.json",

      {skip}

      $ cf-promises
      error: Could not load requested further augments from file '$(sys.workdir)/my_data/$(sys.fqhost).json'

      $ cf-agent -K -f failsafe.cf

      error: Could not load requested further augments from file '$(sys.workdir)/my_data/$(sys.fqhost).json'

      error: Could not load requested further augments from file '$(sys.workdir)/my_data/$(sys.fqhost).json'

      But on a lot of hosts  $(sys.fqhost).json augment files is absent and this is not error.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              igorg Igor Goncharenko
            • Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:

                Summary Panel