puppet: Fixed puppet deadlock check from puppet-check on puppet versions 3.x.
This commit is contained in:
parent
b6a2054934
commit
ac6c8de81b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue