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:29:50 +0000
commitb7121a8cbd6b7814f0a5666d27de7b209d095451 (patch)
tree9c0b862bed8dab4d9dcf08df8e8ab659f1866b49 /install
parent6c6748748bca8dba6e8af55917e92839734bbc7b (diff)
downloadfreeipa-b7121a8cbd6b7814f0a5666d27de7b209d095451.tar.gz
freeipa-b7121a8cbd6b7814f0a5666d27de7b209d095451.tar.xz
freeipa-b7121a8cbd6b7814f0a5666d27de7b209d095451.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',