Sha256: e06b4fed1e9b9793c143be1fef16c7cbf2d1afb64fc3ba86935161414a78059e

Contents?: true

Size: 189 Bytes

Versions: 1

Compression:

Stored size: 189 Bytes

Contents

Facter.add(:puppetversion) do
    setcode {
        begin
            require 'puppet'
            Puppet::PUPPETVERSION.to_s
        rescue LoadError
            nil
        end
    }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facter-1.5.2 lib/facter/puppetversion.rb