diff options
author | Martin Basti <mbasti@redhat.com> | 2015-03-06 15:14:17 +0100 |
---|---|---|
committer | Tomas Babej <tbabej@redhat.com> | 2015-03-19 12:37:09 +0100 |
commit | 0c7274ead8670951b1f07039b68014b06418024d (patch) | |
tree | df2fdd02331a4565efbd4d0a844fb73f3c44b9a4 /ipaserver/install/plugins/dns.py | |
parent | 144bc6c1ebc29cc0bbe54d8f8a6bc5a6cf026a90 (diff) | |
download | freeipa-0c7274ead8670951b1f07039b68014b06418024d.tar.gz freeipa-0c7274ead8670951b1f07039b68014b06418024d.tar.xz freeipa-0c7274ead8670951b1f07039b68014b06418024d.zip |
Server Upgrade: Update entries in order specified in file
Dictionary replaced with list. Particular upgrades are
executed in the same order as they are specified in update
a file.
Different updates for the smae cn, are not merged into one upgrade
https://fedorahosted.org/freeipa/ticket/4904
Reviewed-By: David Kupka <dkupka@redhat.com>
Diffstat (limited to 'ipaserver/install/plugins/dns.py')
-rw-r--r-- | ipaserver/install/plugins/dns.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ipaserver/install/plugins/dns.py b/ipaserver/install/plugins/dns.py index 5f40be492..f562978bc 100644 --- a/ipaserver/install/plugins/dns.py +++ b/ipaserver/install/plugins/dns.py @@ -133,13 +133,11 @@ class update_dns_limits(PostUpdate): for limit in self.limit_attributes: limit_updates.append('only:%s:%s' % (limit, self.limit_value)) - dnsupdates = {} - dnsupdates[dns_service_dn] = {'dn': dns_service_dn, - 'updates': limit_updates} + dnsupdate = {'dn': dns_service_dn, 'updates': limit_updates} root_logger.debug("DNS: limits for service %s will be updated" % dns_service_dn) - return (False, True, [dnsupdates]) + return (False, True, [dnsupdate]) api.register(update_dns_limits) |