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

cfbs add should warn if no autorun meta tag in policy files

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Higher
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: N/A
    • Component/s: cfbs
    • Labels:
      None

      Description

      When adding a single file or directory, autorun is used. We should warn if the added policy files do not have autorun tag:

      meta:
        "tags" slist => { "autorun" };
      

      Or maybe do this automatically?

      Currently the "directory" build step will auto-include the policy in inputs, but not bundles. So the policy will be evaluated but not activated unless the autorun tag is present.

        Attachments

          Activity

            People

            Assignee:
            olehermanse Ole Herman Schumacher Elgesem
            Reporter:
            craig.comstock Craig Comstock
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: