summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Turnbull <james@lovedthanlost.net>2010-03-24 13:17:50 +1100
committertest branch <puppet-dev@googlegroups.com>2010-02-17 06:50:53 -0800
commitb8832725e2bf1933af0d583ddbd81c8a8db4ae8f (patch)
tree44edcddd708e9eaa8d4771b86ca28218167b21f7
parent67bf142f6227db8f675726a104766b72c1e90141 (diff)
downloadpuppet-b8832725e2bf1933af0d583ddbd81c8a8db4ae8f.tar.gz
puppet-b8832725e2bf1933af0d583ddbd81c8a8db4ae8f.tar.xz
puppet-b8832725e2bf1933af0d583ddbd81c8a8db4ae8f.zip
Fixed puppetlast typo
Patch thanks for Micah Anderson
-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