Skip to content
This repository has been archived by the owner on Feb 16, 2021. It is now read-only.

More complex detection condition logic #8

Open
AMDmi3 opened this issue May 12, 2016 · 0 comments
Open

More complex detection condition logic #8

AMDmi3 opened this issue May 12, 2016 · 0 comments

Comments

@AMDmi3
Copy link
Member

AMDmi3 commented May 12, 2016

For now, we only support OR logic for detection conditions. We may need AND logic as in "opsys=Linux AND /etc/gentoo-release file present". From syntax standpoint, either simple detection-and: alternative to detection:, or nested constructs as in

detection:
  - and
    - file-in-etc: gentoo-release
    - or
      - opsys: Linux
      - uname-s: Linux
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant