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

cfbs should warn or error if cfbs.json contains unknown keys

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Need more Info
    • Priority: (None)
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: cfbs
    • Labels:
      None

      Description

      I cant sepll spell, and my flyspell checker doesn't try to check keys in data files so when I mis-spelled dependencies as dependancies cfbs didnt think anything of it and did it's best to make it pretty converting it from "dependancies": ["lib-sshd-config"] to "dependancies": "lib-sshd-config".

      Since dependancies isn't a valid key, I think it would make sense for cfbs to warn or error

        Attachments

          Activity

            People

            Assignee:
            olehermanse Ole Herman Schumacher Elgesem
            Reporter:
            a10042 Nick Anderson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: