Method: Puppet::Util::Pidlock#mine?

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

#mine?Boolean

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:

  • (Boolean)


15
16
17
# File 'lib/puppet/util/pidlock.rb', line 15

def mine?
  Process.pid == lock_pid
end