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

Define feature class when users promise type is supported

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: (None)
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: cf-agent
    • Labels:
    • Complexity:
      S

      Description

      If cfengine is built without pam support or is running on some unsupported platform the users promise type won't work.

      It would be nice if we have a feature class that could be used to guard promises where it's not supported.

      For example: feature_promisetype_users

      We have feature classes that indicate when CFEngine is built with xml, yaml, curl, and various versions of tls support.

      [root@hub ~]# cf-promises --show-classes | grep feature
      feature                                                      source=agent,hardclass                  
      feature_curl                                                 source=agent,hardclass                  
      feature_def                                                  source=agent,hardclass                  
      feature_def_json                                             source=agent,hardclass                  
      feature_def_json_preparse                                    source=agent,hardclass                  
      feature_tls                                                  source=agent,hardclass                  
      feature_tls_1                                                source=agent,hardclass                  
      feature_tls_1_0                                              source=agent,hardclass                  
      feature_tls_1_1                                              source=agent,hardclass                  
      feature_tls_1_2                                              source=agent,hardclass                  
      feature_tls_1_3                                              source=agent,hardclass                  
      feature_xml                                                  source=agent,hardclass                  
      feature_yaml                                                 source=agent,hardclass                  
      
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:

                Summary Panel