Method: Puppet::Util::Pidlock#locked?
- Defined in:
- lib/puppet/util/pidlock.rb
#locked? ⇒ 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.
10 11 12 13 |
# File 'lib/puppet/util/pidlock.rb', line 10 def locked? clear_if_stale @lockfile.locked? end |