summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rwxr-xr-xext/puppetlast2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/puppetlast b/ext/puppetlast
index ac6396560..7434368a3 100755
--- a/ext/puppetlast
+++ b/ext/puppetlast
@@ -12,5 +12,5 @@ Puppet[:name] = "puppetmasterd"
Puppet::Node::Facts.terminus_class = :yaml
Puppet::Node::Facts.search("*").sort { |a,b| a.name <=> b.name }.each do |node|
- puts "#{node.name} checked in #{((Time.now - Time.parse(node.values[:_timestamp].to_s)) / 60).floor} minutes ago. Version #{node.values['puppetversion']}#{node.expired? ? ' Cached expired.' : ''}"
+ puts "#{node.name} checked in #{((Time.now - Time.parse(node.values[:_timestamp].to_s)) / 60).floor} minutes ago. Version #{node.values['puppetversion']}#{node.expired? ? ' Cache expired.' : ''}"
end