summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/facter.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/facter.rb b/lib/facter.rb
index fe0b684..55e7619 100644
--- a/lib/facter.rb
+++ b/lib/facter.rb
@@ -700,7 +700,9 @@ class Facter
["/usr/local/etc/cfkey.pub",
"/etc/cfkey.pub",
"/var/cfng/keys/localhost.pub",
- "/var/cfengine/ppkeys/localhost.pub"
+ "/var/cfengine/ppkeys/localhost.pub",
+ "/var/lib/cfengine/ppkeys/localhost.pub",
+ "/var/lib/cfengine2/ppkeys/localhost.pub"
].each { |file|
if FileTest.file?(file)
File.open(file) { |openfile|