Method: Puppet::Util::Lockfile#unlock

Defined in:
lib/puppet/util/lockfile.rb

#unlockObject



36
37
38
39
40
41
42
43
# File 'lib/puppet/util/lockfile.rb', line 36

def unlock
  if locked?
    Puppet::FileSystem.unlink(@file_path)
    true
  else
    false
  end
end