def write_cluster_settings(self, cluster_view): if self._remote_site != "": write_memcached_cluster_settings( "/etc/clearwater/remote_cluster_settings", cluster_view) run_command("/usr/share/clearwater/bin/reload_memcached_users")
def write_cluster_settings(self, cluster_view): write_memcached_cluster_settings("/etc/clearwater/cluster_settings", cluster_view) run_command(["/usr/share/clearwater/bin/reload_memcached_users"])
def on_cluster_changing(self, cluster_view): write_memcached_cluster_settings("/etc/clearwater/cluster_settings", cluster_view) run_command("/usr/share/clearwater/bin/reload_memcached_users")