summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-08-30 13:45:13 -0500
committerEndi S. Dewata <edewata@redhat.com>2011-08-31 16:30:24 +0000
commitfa48fceaaf6357741999476f9ba0fc6a85f3e368 (patch)
tree92001f162209af5bbdeca5d5dd6b28a6120a7265 /install
parent99a7e90c0a8315da0bfcb3df28c198ea403e4e7a (diff)
downloadfreeipa-fa48fceaaf6357741999476f9ba0fc6a85f3e368.tar.gz
freeipa-fa48fceaaf6357741999476f9ba0fc6a85f3e368.tar.xz
freeipa-fa48fceaaf6357741999476f9ba0fc6a85f3e368.zip
Fixed problem adding hostgroup into netgroup.
The memberof_netgroup association facet for hostgroup has been explicitly defined to use the serial associator so it will invoke the right methods. Ticket #1737
Diffstat (limited to 'install')
-rw-r--r--install/ui/hostgroup.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/install/ui/hostgroup.js b/install/ui/hostgroup.js
index cad77a7a5..45420340f 100644
--- a/install/ui/hostgroup.js
+++ b/install/ui/hostgroup.js
@@ -38,6 +38,10 @@ IPA.entity_factories.hostgroup = function() {
associator: IPA.serial_associator
}).
association_facet({
+ name: 'memberof_netgroup',
+ associator: IPA.serial_associator
+ }).
+ association_facet({
name: 'memberof_hbacrule',
associator: IPA.serial_associator,
add_method: 'add_host',