diff options
author | Bryan McLellan <btm@loftninjas.org> | 2014-09-03 14:13:46 -0400 |
---|---|---|
committer | Jay Mundrawala <jdmundrawala@gmail.com> | 2014-09-19 12:48:05 -0700 |
commit | e3d685d9cce83342f03a624a3fe7121ccc34443a (patch) | |
tree | efac98e5045469c33f219e01a1e89db5278c2321 /lib/chef/provider/dsc_script.rb | |
parent | a97bc51649be2ee784843a21bd8484ce61ac589f (diff) | |
download | chef-e3d685d9cce83342f03a624a3fe7121ccc34443a.tar.gz |
Switch fileformat to unix, clean up whitespace.
Converts a few files from CRLF->LF.
Removes some trailing whitespace as well.
Diffstat (limited to 'lib/chef/provider/dsc_script.rb')
-rw-r--r-- | lib/chef/provider/dsc_script.rb | 6 |
1 files changed, 3 insertions, 3 deletions
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 |