diff options
author | James Turnbull <james@lovedthanlost.net> | 2010-03-24 13:17:50 +1100 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2010-03-24 13:17:50 +1100 |
commit | fd76142b314c390205570d02383607ff91b23391 (patch) | |
tree | 0e39faa64d5a73ee2b3c87f1aa8e059d56c4895e | |
parent | 3b4e7827391a11c1f577714e39f86ccb517fedac (diff) | |
download | puppet-fd76142b314c390205570d02383607ff91b23391.tar.gz puppet-fd76142b314c390205570d02383607ff91b23391.tar.xz puppet-fd76142b314c390205570d02383607ff91b23391.zip |
Fixed puppetlast typo
Patch thanks for Micah Anderson
-rwxr-xr-x | ext/puppetlast | 2 |
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 |