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

Allow classes type promises without constraints

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.10.0
    • Component/s: Language
    • Labels:
      None

      Description

      It would be convenient if classes type promises defaulted to expression => "any".

      For the case when you want to define a class in any context it would be nice for the policy writer to save the keystrokes.

      bundle agent example
      {
        classes:
          "my_class";
      
          "my_inventory_class"
            scope => "namespace",
            meta => { "inventory", "attribute_name=Test" };  
      }
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel