Skip to content

Commit d30e7f8

Browse files
author
Jeff McCune
committed
(#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
1 parent 06b549b commit d30e7f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/facter/facter_dot_d.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,5 +179,5 @@ def create
179179
end
180180
end
181181

182-
Facter::Util::DotD.new("/etc/facts.d").create
183-
Facter::Util::DotD.new("/etc/puppetlabs/facts.d").create
182+
Facter::Util::DotD.new("/etc/facter/facts.d").create
183+
Facter::Util::DotD.new("/etc/puppetlabs/facter/facts.d").create

0 commit comments

Comments
 (0)