code: def _parse_stack_cfg(content):
      '''
      Allow top level cfg to be YAML
      '''
      try:
          obj = salt.utils.yaml.safe_load(content)
          if isinstance(obj, list):
              return obj
      except Exception as e:
          pass
      return content.splitlines(f _parse_stack_cfg(content):
      '''
      Allow top level cfg to be YAML
      '''
      try:
          obj = salt.utils.yaml.safe_load(content)
          if isinstance(obj, list):
              return obj
      except Exception as e:
          pass
      return content.splitlines()
docs: Allow top level cfg to be YAML