Method: Puppet::Util::Lockfile#lock_data
- Defined in:
- lib/puppet/util/lockfile.rb
#lock_data ⇒ String
Retrieve the (optional) lock data that was specified at the time the file
was locked.
53 54 55 |
# File 'lib/puppet/util/lockfile.rb', line 53 def lock_data return File.read(@file_path) if file_locked? end |