version: '0.10'
services:
- service:
  - name: test
    file:
    - filelist: afilllist
      text: /tmp/file1
variables:
- family:
  - name: general
    variables:
    - variable:
      - name: condition
        type: string
        description: No change
        value:
        - text: 'no'
      - name: disable_variable
        type: string
        description: No change
        value:
        - text: 'no'
constraints:
- condition:
  - name: disabled_if_not_in
    source: unknown
    optional: true
    param:
    - text: 'no'
    target:
    - type: variable
      text: disable_variable
    - type: filelist
      text: afilllist
