summaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2010-11-29 23:57:38 +0100
committermh <mh@immerda.ch>2010-11-29 23:57:38 +0100
commit5688ea847954dc111250a0b9e7a754e88d41c7c5 (patch)
tree31efb2f972f0e3010659b6e6dca28bd47ea3a835 /files
parent821a6458ae24d58b5d528f2424f7e8129371cbcc (diff)
rather use last_compile than last update
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