summaryrefslogtreecommitdiff
path: root/lib/chef/exceptions.rb
diff options
context:
space:
mode:
authortyler-ball <tyleraball@gmail.com>2014-11-10 09:52:06 -0800
committertyler-ball <tyleraball@gmail.com>2014-12-17 18:47:27 -0800
commit73594ef27855e6f1dabb57fdffa04adc881f06be (patch)
treeca9e00cddcf0b9b0ffc7b48f4627decd1b8b2918 /lib/chef/exceptions.rb
parent2bb912157470f55975f2e50e3792132478639a78 (diff)
downloadchef-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.rb6
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"