[Freeipa-devel] [PATCH 0121] ipatests: Add support for hosts referenced by a keyword

Petr Viktorin pviktori at redhat.com
Tue Oct 22 07:54:39 UTC 2013


On 10/22/2013 09:20 AM, Tomas Babej wrote:
> Hi,
>
> Adds support for host definition by a environment variables of the
> following form:
>
> KEYWORDHOST__envX, where X is the number of the environment
> for which host referenced by a keyword should be defined.
>
> You can also optionally use KEYWORDHOST__IP_envX to define
> the IP address directly, otherwise the framework will try to resolve
> the hostname.
>
> Adds a required_keyword_hosts attribute to the IntegrationTest class,
> which can test developer use to specify the keyword hosts that this
> particular test requires. If not all required keyword hosts are
> available, the test will be skipped.
>
> All keyword hosts are accessible to the IntegrationTests via the
> keyword_hosts attribute, which contains a dictionary keyed by the
> keywords.
>

Why is this necessary?
What's wrong with just extending the current scheme with more roles?


-- 
Petr³




More information about the Freeipa-devel mailing list