summaryrefslogtreecommitdiff
path: root/lib/chef/run_lock.rb
diff options
context:
space:
mode:
authorlamont-granquist <lamont@scriptkiddie.org>2013-06-21 14:51:50 -0700
committerlamont-granquist <lamont@scriptkiddie.org>2013-06-21 14:51:50 -0700
commit259141fb00dd1051e6cd54664a0d037975cc59ff (patch)
tree86ea0200c4038de2cfe5a522c5c4a17adbb375ab /lib/chef/run_lock.rb
parent7cf389328d7eb45f480239647b38f90d58b759be (diff)
parentc1b1b9e114d313c9894560fff3e46845b9a887c2 (diff)
downloadchef-259141fb00dd1051e6cd54664a0d037975cc59ff.tar.gz
Merge pull request #843 from opscode/lcg/warn-run-lock
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 7f0863e2ee..50046c2396 100644
--- a/lib/chef/run_lock.rb
+++ b/lib/chef/run_lock.rb
@@ -64,7 +64,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.