From e3d685d9cce83342f03a624a3fe7121ccc34443a Mon Sep 17 00:00:00 2001 From: Bryan McLellan Date: Wed, 3 Sep 2014 14:13:46 -0400 Subject: Switch fileformat to unix, clean up whitespace. Converts a few files from CRLF->LF. Removes some trailing whitespace as well. --- lib/chef/provider/dsc_script.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/chef/provider/dsc_script.rb') diff --git a/lib/chef/provider/dsc_script.rb b/lib/chef/provider/dsc_script.rb index d296e09c23..5d7322842c 100644 --- a/lib/chef/provider/dsc_script.rb +++ b/lib/chef/provider/dsc_script.rb @@ -28,10 +28,10 @@ class Chef @dsc_resource = dsc_resource @resource_converged = false @operations = { - :set => Proc.new { |config_manager, document| + :set => Proc.new { |config_manager, document| config_manager.set_configuration(document) }, - :test => Proc.new { |config_manager, document| + :test => Proc.new { |config_manager, document| config_manager.test_configuration(document) }} end @@ -131,7 +131,7 @@ class Chef private def generate_description - ["converge DSC configuration '#{configuration_friendly_name}'"] + + ["converge DSC configuration '#{configuration_friendly_name}'"] + @dsc_resources_info.map do |resource| if resource.changes_state? # We ignore the last log message because it only contains the time it took, which looks weird -- cgit v1.2.1