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

WARN when not using correct combinations of attributes when promising files from templates

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Open
    • Priority: (None)
    • Resolution: Unresolved
    • Affects Version/s: 3.12.0
    • Fix Version/s: None
    • Component/s: Promise type: files
    • Labels:

      Description

      CFE-2910 was filed because of user error. The combination of attributes and values were not compatible. It would be nice to be warned when templating attributes are used in invalid combinations.

      • WARN when template_method mustache is used without edit_template (path to file)
      • WARN when template_method inline_mustache is used without edit_template_string
      • WARN when edit_template_string is used without template_method inline_mustache
      • WARN when edit_template is used without template_method mustache OR template_method cfengine

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              a10042 Nick Anderson
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Summary Panel