diff options
| author | Luke Kanies <luke@madstop.com> | 2005-07-16 16:44:04 +0000 |
|---|---|---|
| committer | Luke Kanies <luke@madstop.com> | 2005-07-16 16:44:04 +0000 |
| commit | 357afbbc6054dcdc7a1fd5ae468a2e86a44a9bde (patch) | |
| tree | 88ba3c8298ed60a5969ce56f7eb3984e0028e6ff /lib/puppet.rb | |
| parent | f38bdef90367a0beb9074bbaa4d5fa384660f7a8 (diff) | |
removed type.method() syntax, and replaced it with Type { default => value} syntax -- i still need to add test cases
git-svn-id: https://reductivelabs.com/svn/puppet/library/trunk@409 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 6a49338f3..415bd253b 100644 --- a/lib/puppet.rb +++ b/lib/puppet.rb @@ -15,6 +15,12 @@ require 'puppet/log' # # it's also a place to find top-level commands like 'debug' module Puppet + class Error < RuntimeError + attr_accessor :stack + end + + class DevError < Error; end + # the hash that determines how our system behaves @@config = Hash.new(false) |
