summaryrefslogtreecommitdiffstats
path: root/daemons/ipa-slapi-plugins/topology/topology_post.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemons/ipa-slapi-plugins/topology/topology_post.c')
-rw-r--r--daemons/ipa-slapi-plugins/topology/topology_post.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/daemons/ipa-slapi-plugins/topology/topology_post.c b/daemons/ipa-slapi-plugins/topology/topology_post.c
index 5ac029a86..c525d1222 100644
--- a/daemons/ipa-slapi-plugins/topology/topology_post.c
+++ b/daemons/ipa-slapi-plugins/topology/topology_post.c
@@ -98,12 +98,11 @@ ipa_topo_post_add(Slapi_PBlock *pb)
break;
}
case TOPO_HOST_ENTRY: {
- /* add to list of managed hosts */
- ipa_topo_cfg_host_add(add_entry);
/* we are adding a new master, there could be
* a segment which so far was inactive since
* the host was not managed
*/
+ /* It will also add to list of managed hosts */
ipa_topo_util_add_host(add_entry);
break;
}
@@ -194,6 +193,8 @@ ipa_topo_post_mod(Slapi_PBlock *pb)
break;
}
case TOPO_HOST_ENTRY: {
+ /* check i host needs to be added to the managed hosts
+ * and if segments need to be created */
ipa_topo_util_update_host(mod_entry, mods);
break;
}