Method: Puppet::Util::Pidlock#initialize

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

#initialize(lockfile) ⇒ Pidlock

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of Pidlock.



6
7
8
# File 'lib/puppet/util/pidlock.rb', line 6

def initialize(lockfile)
  @lockfile = Puppet::Util::Lockfile.new(lockfile)
end