lib/puppet/util/pidlock.rb in puppet-3.2.4 vs lib/puppet/util/pidlock.rb in puppet-3.3.0.rc2
- old
+ new
@@ -32,9 +32,12 @@
def lock_pid
@lockfile.lock_data.to_i
end
+ def file_path
+ @lockfile.file_path
+ end
def clear_if_stale
return if lock_pid.nil?
errors = [Errno::ESRCH]