Method: Puppet::Util::Pidlock#lock_pid
- Defined in:
- lib/puppet/util/pidlock.rb
#lock_pid ⇒ Object
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.
33 34 35 36 37 38 39 40 |
# File 'lib/puppet/util/pidlock.rb', line 33 def lock_pid pid = @lockfile.lock_data begin Integer(pid) rescue ArgumentError, TypeError nil end end |