SatelliteQE / satellite-populate

This new module adds tools and commands to populate and validate entities in the system based in YAML file.
Other
8 stars 10 forks source link

Support calling arbitraty Python functions #34

Open rochacbruno opened 7 years ago

rochacbruno commented 7 years ago

Example should be using https://github.com/SatelliteQE/robottelo/blob/master/robottelo/helpers.py#L87

example:

- action: register
  log: Get current O.S version using a helper defined in robottelo
  data:
     os_version:
         from_<eval|python|function|callable>: robottelo.helpers.get_os_version()

- model: Repository
  data:
     content_type: ostree
  when: os_version > 6