Sha256: 64128dda31fb769b3423e54501c07ab2dd5abb25306658ee39c9d7961ca4b483

Contents?: true

Size: 534 Bytes

Versions: 1

Compression:

Stored size: 534 Bytes

Contents

# The version method and constant are isolated in puppet/version.rb so that a
# simple `require 'puppet/version'` allows a rubygems gemspec or bundler
# Gemfile to get the Puppet version of the gem install.
#
# The version is programatically settable because we want to allow the
# Raketasks and such to set the version based on the output of `git describe`
#
module Puppet
  PUPPETVERSION = '2.7.26'

  def self.version
    @puppet_version || PUPPETVERSION
  end

  def self.version=(version)
    @puppet_version = version
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
puppet-2.7.26 lib/puppet/version.rb