summaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
Diffstat (limited to 'files')
-rw-r--r--files/master/lastruncheck2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/master/lastruncheck b/files/master/lastruncheck
index 8e31601..e0a3c47 100644
--- a/files/master/lastruncheck
+++ b/files/master/lastruncheck
@@ -96,7 +96,7 @@ module Puppet::Lastcheck::Tests::Storedconfigs
storedconfigs_hosts.each do |host|
if !facts_hosts.any?{|fact_host| fact_host[:hostname] == host.name }
add_failed_host(host.name, "In storedconfigs but no facts available!")
- elsif host.updated_at < (Time.now - @timeout)
+ elsif host.last_compile < (Time.now - @timeout)
add_failed_host(host.name, "Last update in storedconfigs at #{host.updated_at}")
end
end