puppet: Fixed puppet deadlock check from puppet-check on puppet versions 3.x.

This commit is contained in:
Timo Mkinen 2013-09-02 09:08:28 +03:00
parent b6a2054934
commit ac6c8de81b

View file

@ -45,7 +45,7 @@ begin
# check if deadlock file is too old
if Puppet.version[/\d+/].to_i >= 3
dlock = Puppet.settings.value("agent_disabled_lockfile")
dlock = Puppet.settings.value("agent_catalog_run_lockfile")
else
dlock = Puppet.settings.value("puppetdlockfile")
end