From a4e8f1ca2cc6c1257e4dae0f32e24ff71aa94eea Mon Sep 17 00:00:00 2001 From: Luke Kanies Date: Mon, 12 Nov 2007 10:08:17 -0600 Subject: Adding a memory terminus for facts, which is really only used for testing --- lib/puppet/indirector/facts/memory.rb | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 lib/puppet/indirector/facts/memory.rb (limited to 'lib') diff --git a/lib/puppet/indirector/facts/memory.rb b/lib/puppet/indirector/facts/memory.rb new file mode 100644 index 000000000..3c10d5964 --- /dev/null +++ b/lib/puppet/indirector/facts/memory.rb @@ -0,0 +1,9 @@ +require 'puppet/node/facts' +require 'puppet/indirector/memory' + +class Puppet::Node::Facts::Memory < Puppet::Indirector::Memory + desc "Keep track of facts in memory but nowhere else. This is used for + one-time compiles, such as what the stand-alone ``puppet`` does. + To use this terminus, you must load it with the data you want it + to contain." +end -- cgit