diff options
author | Jay Mundrawala <jdmundrawala@gmail.com> | 2014-12-16 22:19:41 -0800 |
---|---|---|
committer | Bryan McLellan <btm@loftninjas.org> | 2014-12-17 20:16:14 -0500 |
commit | 69d5bb494a14f58b3590027da509eca9ac610c3b (patch) | |
tree | 581814d17f1ed4f106cefdfb4a7ed350e967b397 /lib/chef/util | |
parent | ff61089480e886e7b730b47ddd1771102285a842 (diff) | |
download | chef-69d5bb494a14f58b3590027da509eca9ac610c3b.tar.gz |
Rename Chef::Exceptions::LCMParserException to Chef::Exceptions::LCMParser
Diffstat (limited to 'lib/chef/util')
-rw-r--r-- | lib/chef/util/dsc/lcm_output_parser.rb | 2 | ||||
-rw-r--r-- | lib/chef/util/dsc/local_configuration_manager.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/util/dsc/lcm_output_parser.rb b/lib/chef/util/dsc/lcm_output_parser.rb index 37908d064b..754fde3e8b 100644 --- a/lib/chef/util/dsc/lcm_output_parser.rb +++ b/lib/chef/util/dsc/lcm_output_parser.rb @@ -99,7 +99,7 @@ class Chef if resources.length > 0 build_resource_info(resources) else - raise Chef::Exceptions::LCMParserException, "Could not parse:\n#{lcm_output}" + raise Chef::Exceptions::LCMParser, "Could not parse:\n#{lcm_output}" end end diff --git a/lib/chef/util/dsc/local_configuration_manager.rb b/lib/chef/util/dsc/local_configuration_manager.rb index 55ffc7943c..c3149429f9 100644 --- a/lib/chef/util/dsc/local_configuration_manager.rb +++ b/lib/chef/util/dsc/local_configuration_manager.rb @@ -103,7 +103,7 @@ EOH Chef::Log.debug("DSC: DSC returned the following '-whatif' output from test operation:\n#{what_if_output}") begin Parser::parse(what_if_output) - rescue Chef::Exceptions::LCMParserException => e + rescue Chef::Exceptions::LCMParser => e Chef::Log::warn("Could not parse LCM output: #{e}") [Chef::Util::DSC::ResourceInfo.new('Unknown DSC Resources', true, ['Unknown changes because LCM output was not parsable.'])] end |