summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/puppet.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/puppet.rb b/lib/puppet.rb
index b697c4d5e..93008de62 100644
--- a/lib/puppet.rb
+++ b/lib/puppet.rb
@@ -17,6 +17,12 @@ require 'puppet/log'
#
# it's also a place to find top-level commands like 'debug'
module Puppet
+ PUPPETVERSION="0.0"
+
+ def Puppet.version
+ return PUPPETVERSION
+ end
+
class Error < RuntimeError
attr_accessor :stack, :line, :file
def initialize(message)