summaryrefslogtreecommitdiffstats
path: root/tests/test_xmlrpc/test_service_plugin.py
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2010-11-10 16:47:29 -0500
committerAdam Young <ayoung@redhat.com>2010-11-19 10:31:42 -0500
commitd4f25453e116ca132208e99d5e320500efbe5d9c (patch)
tree658ba9a4d0429480a7e40043440d6b7eac2370c9 /tests/test_xmlrpc/test_service_plugin.py
parent2046eddb7ab3e56f57f9decd172f6354f0a945aa (diff)
downloadfreeipa-d4f25453e116ca132208e99d5e320500efbe5d9c.tar.gz
freeipa-d4f25453e116ca132208e99d5e320500efbe5d9c.tar.xz
freeipa-d4f25453e116ca132208e99d5e320500efbe5d9c.zip
Add managedby to Host entries
This will allow others to provision on behalf of the host. ticket 280
Diffstat (limited to 'tests/test_xmlrpc/test_service_plugin.py')
-rw-r--r--tests/test_xmlrpc/test_service_plugin.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_xmlrpc/test_service_plugin.py b/tests/test_xmlrpc/test_service_plugin.py
index fc8e08e9e..5cd9cff95 100644
--- a/tests/test_xmlrpc/test_service_plugin.py
+++ b/tests/test_xmlrpc/test_service_plugin.py
@@ -88,6 +88,7 @@ class test_host(Declarative):
krbprincipalname=[u'host/%s@%s' % (fqdn1, api.env.realm)],
objectclass=objectclasses.host,
ipauniqueid=[fuzzy_uuid],
+ managedby_host=[u'%s' % fqdn1],
),
),
),
@@ -113,6 +114,7 @@ class test_host(Declarative):
krbprincipalname=[u'host/%s@%s' % (fqdn2, api.env.realm)],
objectclass=objectclasses.host,
ipauniqueid=[fuzzy_uuid],
+ managedby_host=[u'%s' % fqdn2],
),
),
),