[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, master, updated. puppet-0.24.5-rc3-1680-g00896c1
Stig Sandbeck Mathisen
ssm at debian.org
Mon Jan 25 05:49:13 UTC 2010
The following commit has been merged in the master branch:
commit 00896c196cf8cf89baf1b28fac733118b6725e03
Merge: 2bc4a75cbcaa52c9e0237b0343a69d21b292d910 a91c476387887baa5920f5539a7c4acfaf8cecd9
Author: Stig Sandbeck Mathisen <ssm at debian.org>
Date: Mon Jan 25 06:49:02 2010 +0100
Merge branch 'upstream'
diff --combined ext/puppetlast
index 93e08b1,2dc4cd6..7c0c587
--- a/ext/puppetlast
+++ b/ext/puppetlast
@@@ -1,4 -1,4 +1,4 @@@
-#!/usr/bin/env ruby
+#!/usr/bin/ruby1.8
# Puppetlast, a script to output the last check-in time of nodes. Also outputs the cached configuration state, if expired or not.
#
# AJ "Fujin" Christensen <aj at junglist.gen.nz>
@@@ -12,5 -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} #{node.expired? ? 'cached expired, ' : ''}checked in #{((Time.now - Time.parse(node.values[:_timestamp])) / 60).floor} minutes ago"
+ puts "#{node.name} #{node.expired? ? 'cached expired, ' : ''}checked in #{((Time.now - Time.parse(node.values[:_timestamp].to_s)) / 60).floor} minutes ago"
end
--
Puppet packaging for Debian
More information about the Pkg-puppet-devel
mailing list