diff options
author | Rob Crittenden <rcritten@redhat.com> | 2010-06-24 10:31:52 -0400 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2010-06-24 10:33:53 -0400 |
commit | 09fb073e8210f1c8239c0b253672e613822fc553 (patch) | |
tree | 6f3f333a2273a45792040523c9726de89ce3342d /ipaserver/install/dsinstance.py | |
parent | 93e54366f9afedcdef78c8dfb6373d4813fba8cb (diff) | |
download | freeipa.git-09fb073e8210f1c8239c0b253672e613822fc553.tar.gz freeipa.git-09fb073e8210f1c8239c0b253672e613822fc553.tar.xz freeipa.git-09fb073e8210f1c8239c0b253672e613822fc553.zip |
Replication version checking.
Whenever we upgrade IPA such that any data incompatibilities might occur
then we need to bump the DATA_VERSION value so that data will not
replicate to other servers. The idea is that you can do an in-place
upgrade of each IPA server and the different versions own't pollute
each other with bad data.
Diffstat (limited to 'ipaserver/install/dsinstance.py')
-rw-r--r-- | ipaserver/install/dsinstance.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ipaserver/install/dsinstance.py b/ipaserver/install/dsinstance.py index 1a80a560..05c0c6e3 100644 --- a/ipaserver/install/dsinstance.py +++ b/ipaserver/install/dsinstance.py @@ -179,6 +179,7 @@ class DsInstance(service.Service): self.step("enabling memberof plugin", self.__add_memberof_module) self.step("enabling referential integrity plugin", self.__add_referint_module) self.step("enabling winsync plugin", self.__add_winsync_module) + self.step("configuring replication version plugin", self.__config_version_module) self.step("enabling IPA enrollment plugin", self.__add_enrollment_module) self.step("enabling ldapi", self.__enable_ldapi) self.step("configuring uniqueness plugin", self.__set_unique_attrs) @@ -338,6 +339,9 @@ class DsInstance(service.Service): def __add_winsync_module(self): self._ldap_mod("ipa-winsync-conf.ldif") + def __config_version_module(self): + self._ldap_mod("ipa-version-conf.ldif") + def __add_enrollment_module(self): self._ldap_mod("enrollment-conf.ldif", self.sub_dict) |