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

Unclear error message if bundle/body name is enclosed in quotes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: (None)
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Parsing
    • Labels:
      None

      Description

      The following policy generates quite a misleading message. It would be nice to change it:

      <pre>
      body common control {
      bundlesequence => {};
      }

      bundle agent "foo" {
      }
      </pre>

      <pre>
      cf-agent -f ~/tmp/aaa.cf
      /Users/a10006/tmp/aaa.cf:5:18: error:syntax error, near token 'foo"'
      </pre>

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jiraadmin Old User (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel