summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/host.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib/plugins/host.py')
-rw-r--r--ipalib/plugins/host.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ipalib/plugins/host.py b/ipalib/plugins/host.py
index 682b8142..012817e6 100644
--- a/ipalib/plugins/host.py
+++ b/ipalib/plugins/host.py
@@ -560,6 +560,7 @@ class host_del(LDAPDelete):
fqdn = hostentry['fqdn'][0]
else:
fqdn = keys[-1]
+ host_is_master(ldap, fqdn)
# Remove all service records for this host
truncated = True
while truncated: