Skip to content

Commit

Permalink
there is no dbconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesonjlee committed Dec 10, 2013
1 parent ff5f7c0 commit a8b3b2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/default/debian-mongodb.init.erb
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ running() {
pid=`cat $PIDFILE`
running_pid $pid $DAEMON || return 1
for i in `seq 1 20`; do
nc -z <%= node['mongodb']['dbconfig']['bind_ip'] || "localhost" %> <%= node['mongodb']['dbconfig']['port'] %> && return 0
nc -z <%= node['mongodb']['config']['bind_ip'] || "localhost" %> <%= node['mongodb']['config']['port'] %> && return 0
echo -n "."
sleep 15
done
Expand Down

0 comments on commit a8b3b2a

Please sign in to comment.