From 5fb0ddcf78504ed8d5abda4fb16664e447160106 Mon Sep 17 00:00:00 2001 From: Hailee Kenney Date: Tue, 10 Jul 2012 15:24:33 -0700 Subject: (#2157) Make facts_dot_d compatible with external facts Since facts_dot_d will eventually be removed and replaced by external facts, warn users who are using a ttl on their external facts that this feature will not be in Facter external facts. Provide a link to a page explaining how to cache fact values without the ttl functionality. --- lib/facter/facter_dot_d.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/facter') diff --git a/lib/facter/facter_dot_d.rb b/lib/facter/facter_dot_d.rb index 3e528ab..c43801c 100644 --- a/lib/facter/facter_dot_d.rb +++ b/lib/facter/facter_dot_d.rb @@ -94,6 +94,7 @@ class Facter::Util::DotD cache_save! end else + Puppet.deprecation_warning("TTL for external facts is being removed. See http://links.puppetlabs.com/factercaching for more information.") Facter.debug("Using cached data for #{file}") end -- cgit v1.2.3