~ubuntu-branches/ubuntu/trusty/facter/trusty

« back to all changes in this revision

Viewing changes to lib/facter/Cfkey.rb

  • Committer: Bazaar Package Importer
  • Author(s): Andrew Pollock, Nigel Kersten, Andrew Pollock
  • Date: 2009-04-13 15:20:21 UTC
  • mfrom: (1.1.5 upstream) (3.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090413152021-t3uagjamr3ee4njl
Tags: 1.5.4-1
[ Nigel Kersten ]
* New upstream release
* Switch maintainer to pkg-puppet-devel list
* Modify uploaders
* Update watch file regexp to exclude release canditate tarballs
* Use upstream install.rb script to build rather than copying manually

[ Andrew Pollock ]
* debian/control: add libopenssl-ruby to build dependencies
* debian/control: bump Standards-Version (no changes)
* debian/compat: increase to 5
* debian/control: add pciutils and ${misc:Depends} to dependencies

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
            "/var/cfengine/ppkeys/localhost.pub",
23
23
            "/var/lib/cfengine/ppkeys/localhost.pub",
24
24
            "/var/lib/cfengine2/ppkeys/localhost.pub"
25
 
        ].each { |file|
 
25
        ].each do |file|
26
26
            if FileTest.file?(file)
27
27
                File.open(file) { |openfile|
28
28
                    value = openfile.readlines.reject { |line|
35
35
            if value
36
36
                break
37
37
            end
38
 
        }
 
38
        end
39
39
 
40
40
        value
41
41
    end