[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, upstream, updated. 2.6.5-303-gfcfa26a
Paul Berry
paul at puppetlabs.com
Thu Mar 17 10:46:50 UTC 2011
The following commit has been merged in the upstream branch:
commit 2d2f9ab04d8d6964df99762f73d329b0e5e57d8a
Author: Paul Berry <paul at puppetlabs.com>
Date: Thu Feb 17 15:15:50 2011 -0800
Maint: backport timestamp accessor for facts from 2.7 branch
Paired-with: Jesse Wolfe <jesse at puppetlabs.com>
diff --git a/lib/puppet/node/facts.rb b/lib/puppet/node/facts.rb
index b77ad22..5626900 100755
--- a/lib/puppet/node/facts.rb
+++ b/lib/puppet/node/facts.rb
@@ -54,6 +54,14 @@ class Puppet::Node::Facts
strip_internal == other.send(:strip_internal)
end
+ def timestamp=(time)
+ self.values[:_timestamp] = time
+ end
+
+ def timestamp
+ self.values[:_timestamp]
+ end
+
private
# Add internal data to the facts for storage.
--
Puppet packaging for Debian
More information about the Pkg-puppet-devel
mailing list