Skip to content
This repository has been archived by the owner on Jun 5, 2018. It is now read-only.

Support calling arbitraty Python functions #34

Open
rochacbruno opened this issue Feb 1, 2017 · 0 comments
Open

Support calling arbitraty Python functions #34

rochacbruno opened this issue Feb 1, 2017 · 0 comments

Comments

@rochacbruno
Copy link
Contributor

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
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