summaryrefslogtreecommitdiff
path: root/lib/chef/run_lock.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2013-06-20 22:42:00 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2013-06-20 22:42:00 -0700
commitc1b1b9e114d313c9894560fff3e46845b9a887c2 (patch)
tree7c35d4a8e10f842a1b07904505a57fb719eb7779 /lib/chef/run_lock.rb
parente82646323f4910ee1fbd8e344fde6a94145d5f18 (diff)
downloadchef-c1b1b9e114d313c9894560fff3e46845b9a887c2.tar.gz
to see this on command line with default :auto level we need to warn
Diffstat (limited to 'lib/chef/run_lock.rb')
-rw-r--r--lib/chef/run_lock.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/run_lock.rb b/lib/chef/run_lock.rb
index c63895e87b..20dad3b132 100644
--- a/lib/chef/run_lock.rb
+++ b/lib/chef/run_lock.rb
@@ -58,7 +58,7 @@ class Chef
unless runlock.flock(File::LOCK_EX|File::LOCK_NB)
# Another chef client running...
runpid = runlock.read.strip.chomp
- Chef::Log.info("Chef client #{runpid} is running, will wait for it to finish and then run.")
+ Chef::Log.warn("Chef client #{runpid} is running, will wait for it to finish and then run.")
runlock.flock(File::LOCK_EX)
end
# We grabbed the run lock. Save the pid.