anchor.diff:  	block_until_isup "$me" 
   	<% if @replSet == true and @repl_members.length > 0 %>
   		init_replSet
  -
   		<% @repl_members.each do |repl| %>
   			if ! inreplset "<%= repl %>"; then
   				add_replMember "<%= repl %>"
  
positive.code: 	if ! replSet_initted; then
  		debug "Initialising ReplicaSet..."
  		mongocmd "rs.initiate()"
  	else
  		debug "Replica set already initiated."
  	fi
  
negative.code: function start()
  {
  	mkdir -p /storage/db
  	HOSTNAME=${HOSTNAME:-127.0.0.1}
  	me="$HOSTNAME:27017"
  
  	/opt/mongodb/bin/mongod <%= @cmd %> & 
  