lib/reptile/users.rb in reptile-0.0.1 vs lib/reptile/users.rb in reptile-0.0.4
- old
+ new
@@ -6,9 +6,11 @@
#
# This also data also is used to create the permissions, allowing the setup of replication
# to be even easier.
class Users
def initialize(options)
+ return if options.nil?
+
@repl_user = options["replication_user"]
@ro_user = options["ro_user"]
@heartbeat_user = options["heartbeat_user"]
end
\ No newline at end of file