diff options
author | Jesse Koontz <jesselks@yahoo.com> | 2005-08-11 17:05:55 +0000 |
---|---|---|
committer | Jesse Koontz <jesselks@yahoo.com> | 2005-08-11 17:05:55 +0000 |
commit | 8d71cd99c2af7f522f58a9fac9a5e2183685e74d (patch) | |
tree | f46d84483a0d9080c0fe8aff2d435539f600954f /lib/puppet.rb | |
parent | cfaee58f4db99544e531962717c35639085065ef (diff) | |
download | puppet-8d71cd99c2af7f522f58a9fac9a5e2183685e74d.tar.gz puppet-8d71cd99c2af7f522f58a9fac9a5e2183685e74d.tar.xz puppet-8d71cd99c2af7f522f58a9fac9a5e2183685e74d.zip |
Added rake for Puppet, '--version' to puppet and test case for Puppet.version
git-svn-id: https://reductivelabs.com/svn/puppet/library/trunk@537 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet.rb')
-rw-r--r-- | lib/puppet.rb | 6 |
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) |