summaryrefslogtreecommitdiffstats
path: root/ipatests/man
diff options
context:
space:
mode:
authorTomas Babej <tbabej@redhat.com>2013-10-16 13:54:26 +0200
committerPetr Viktorin <pviktori@redhat.com>2013-10-31 16:52:12 +0100
commitb1bffb5ecad0fdaa2f560efd2b75c76bedc4423c (patch)
tree791e5708660c6b873e497f345b9c6639af108852 /ipatests/man
parent44998feace93a01b3dfda8fce6ff7aa35fffbabf (diff)
downloadfreeipa-b1bffb5ecad0fdaa2f560efd2b75c76bedc4423c.tar.gz
freeipa-b1bffb5ecad0fdaa2f560efd2b75c76bedc4423c.tar.xz
freeipa-b1bffb5ecad0fdaa2f560efd2b75c76bedc4423c.zip
ipatests: Add support for extra roles referenced by a keyword
Adds support for host definition by a environment variables of the following form: ROLE_<keyword>_envX, where X is the number of the environment for which host referenced by a role <keyword> should be defined. Adds a required_extra_roles attribute to the IntegrationTest class, which can test developer use to specify the extra roles that this particular test requires. If not all required extra roles are available, the test will be skipped. All extra (and static) roles are accessible to the IntegrationTests via the host_by_role method, which returns a host of given role. Part of: https://fedorahosted.org/freeipa/ticket/3833
Diffstat (limited to 'ipatests/man')
-rw-r--r--ipatests/man/ipa-test-config.110
1 files changed, 8 insertions, 2 deletions
diff --git a/ipatests/man/ipa-test-config.1 b/ipatests/man/ipa-test-config.1
index a2fa96b57..317bd40d8 100644
--- a/ipatests/man/ipa-test-config.1
+++ b/ipatests/man/ipa-test-config.1
@@ -62,6 +62,9 @@ Output configuration for the replica with the given number
\fB\-\-replica\fR
Output configuration for the client with the given number
.TP
+\fB\-\-role\fR
+Output configuration for the host with the given role.
+.TP
\fB\-\-no\-simple\fR
Do not output Simple Vars.
These are normally included for backwards compatibility.
@@ -91,8 +94,11 @@ Host configuration:
.TP
\fB$AD_env1\fR, \fB$AD_env2\fR, \fB$AD_env3\fR, \fB$AD_env4\fR, ...
can be used to define Active Directory domains. Please note that these
- domains are not separate from the IPA domains, so please use an unique
- environment suffix for each of your Active Directory domains.
+ domains are not treated as separate from the IPA domains, so please use an
+ unique environment suffix for each of your Active Directory domains.
+.TP
+\fB$TESTHOST_\fR<keyword>\fB_env\fR<e>, e.g. \fB$TESTHOST_LEGACY_env1
+ Defines a host with extra role identified as lowercased <keyword>, e.g. 'legacy'.
.TP
\fB$BEAKER\fR<role><num>\fB_IP_env\fR<e>, e.g. \fB$BEAKERREPLICA1_IP_env1\fR
the IP address of the given host