diff options
author | tyler-ball <tyleraball@gmail.com> | 2014-11-10 09:52:06 -0800 |
---|---|---|
committer | tyler-ball <tyleraball@gmail.com> | 2014-12-17 18:47:27 -0800 |
commit | 73594ef27855e6f1dabb57fdffa04adc881f06be (patch) | |
tree | ca9e00cddcf0b9b0ffc7b48f4627decd1b8b2918 /lib/chef/exceptions.rb | |
parent | 2bb912157470f55975f2e50e3792132478639a78 (diff) | |
download | chef-73594ef27855e6f1dabb57fdffa04adc881f06be.tar.gz |
Wiring audit event proxy to send events correctly to the audit_reporter
Diffstat (limited to 'lib/chef/exceptions.rb')
-rw-r--r-- | lib/chef/exceptions.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/chef/exceptions.rb b/lib/chef/exceptions.rb index 842910f2ae..9fae1d566f 100644 --- a/lib/chef/exceptions.rb +++ b/lib/chef/exceptions.rb @@ -385,6 +385,12 @@ class Chef end end + class AuditControlGroupDuplicate < RuntimeError + def initialize(name) + super "Audit control group with name '#{name}' has already been defined" + end + end + class AuditNameMissing < RuntimeError; end class NoAuditsProvided < RuntimeError def initialize super "You must provide a block with audits" |