lib/aggro/cluster_config.rb in aggro-0.0.3 vs lib/aggro/cluster_config.rb in aggro-0.0.4
- old
+ new
@@ -21,9 +21,14 @@
def nodes
@nodes ||= {}.freeze
end
+ def server_node=(value)
+ @is_server_node = value
+ persist_config
+ end
+
def server_node?
@is_server_node == true
end
private