From d30e7f81d0e64bf438cf68b0208c8f2753903a91 Mon Sep 17 00:00:00 2001 From: Jeff McCune Date: Thu, 18 Aug 2011 10:44:40 -0700 Subject: (#9080) Make facts.d match Facter 2.0 Based on feedback from Luke, the facts.d directory should at least match the directory that will be used by Facter 2.0. Reading #2157 I believe the Facter 2.0 facts.d feature is reasonably API compatible with this custom fact from R.I. so I'm comfortable using the same filesystem path. Change in behavior: Now look for facts in: * /etc/facter/facts.d * /etc/puppetlabs/facter/facts.d --- lib/facter/facter_dot_d.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/facter/facter_dot_d.rb b/lib/facter/facter_dot_d.rb index 2e5d865..90586a9 100644 --- a/lib/facter/facter_dot_d.rb +++ b/lib/facter/facter_dot_d.rb @@ -179,5 +179,5 @@ class Facter::Util::DotD end end -Facter::Util::DotD.new("/etc/facts.d").create -Facter::Util::DotD.new("/etc/puppetlabs/facts.d").create +Facter::Util::DotD.new("/etc/facter/facts.d").create +Facter::Util::DotD.new("/etc/puppetlabs/facter/facts.d").create -- cgit v1.2.3