diff options
author | luke <luke@1f5c1d6a-bddf-0310-8f58-fc49e503516a> | 2007-02-24 15:44:59 +0000 |
---|---|---|
committer | luke <luke@1f5c1d6a-bddf-0310-8f58-fc49e503516a> | 2007-02-24 15:44:59 +0000 |
commit | 392d8f2f357df9c3647d9b35dbcecc76fe4a80ee (patch) | |
tree | 00b8da7e7e0ab303ee2b2c0a2f40e114e742ba6d /lib/facter.rb | |
parent | 824f91cfa60cfe7b6bdc62ae498f033d1bda9634 (diff) | |
download | facter-392d8f2f357df9c3647d9b35dbcecc76fe4a80ee.tar.gz facter-392d8f2f357df9c3647d9b35dbcecc76fe4a80ee.tar.xz facter-392d8f2f357df9c3647d9b35dbcecc76fe4a80ee.zip |
Applying patch from #35.
git-svn-id: http://reductivelabs.com/svn/facter/trunk@195 1f5c1d6a-bddf-0310-8f58-fc49e503516a
Diffstat (limited to 'lib/facter.rb')
-rw-r--r-- | lib/facter.rb | 4 |
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| |