403 Forbidden


Disable Functions:
Path : /usr/share/ruby/vendor_ruby/facter/
File Upload :
Command :
Current File : //usr/share/ruby/vendor_ruby/facter/puppetversion.rb

# Fact: puppetversion
#
# Purpose: Return the version of puppet installed.
#
# Resolution:
#   Requires puppet via Ruby and returns the value of its version constant.
#
# Caveats:
#

Facter.add(:puppetversion) do
  setcode do
    begin
      require 'puppet/version'
      Puppet.version.to_s
    rescue LoadError
      nil
    end
  end
end

404 Not Found
[ LogOut ]