diff options
| author | Julian C. Dunn <jdunn@aquezada.com> | 2015-03-11 20:41:51 -0400 |
|---|---|---|
| committer | Julian C. Dunn <jdunn@aquezada.com> | 2015-03-11 20:41:51 -0400 |
| commit | 47fe4a9dfeb177dbcd2fc1ed8f487f3375dd0dbb (patch) | |
| tree | 31209bfb25c69bce04164b38a5c0cf77293675a7 /lib/chef/exceptions.rb | |
| parent | f400002d1a68b8ee672dea92ddfc6ff15624d9d2 (diff) | |
| download | chef-47fe4a9dfeb177dbcd2fc1ed8f487f3375dd0dbb.tar.gz | |
Make terminology consistent about audits versus controls
Diffstat (limited to 'lib/chef/exceptions.rb')
| -rw-r--r-- | lib/chef/exceptions.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/chef/exceptions.rb b/lib/chef/exceptions.rb index ecd84c5ba5..22f090789f 100644 --- a/lib/chef/exceptions.rb +++ b/lib/chef/exceptions.rb @@ -399,18 +399,18 @@ class Chef class AuditControlGroupDuplicate < RuntimeError def initialize(name) - super "Audit control group with name '#{name}' has already been defined" + super "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" + super "You must provide a block with controls" end end class AuditsFailed < RuntimeError def initialize(num_failed, num_total) - super "Audit phase found failures - #{num_failed}/#{num_total} audits failed" + super "Audit phase found failures - #{num_failed}/#{num_total} controls failed" end end |
