summaryrefslogtreecommitdiff
path: root/lib/chef/util/dsc
diff options
context:
space:
mode:
authorBryan McLellan <btm@loftninjas.org>2014-09-03 14:13:46 -0400
committerJay Mundrawala <jdmundrawala@gmail.com>2014-09-19 12:48:05 -0700
commite3d685d9cce83342f03a624a3fe7121ccc34443a (patch)
treeefac98e5045469c33f219e01a1e89db5278c2321 /lib/chef/util/dsc
parenta97bc51649be2ee784843a21bd8484ce61ac589f (diff)
downloadchef-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/util/dsc')
-rw-r--r--lib/chef/util/dsc/configuration_generator.rb2
-rw-r--r--lib/chef/util/dsc/lcm_output_parser.rb10
2 files changed, 6 insertions, 6 deletions
diff --git a/lib/chef/util/dsc/configuration_generator.rb b/lib/chef/util/dsc/configuration_generator.rb
index 9f8c0e7309..12cd5dc3a2 100644
--- a/lib/chef/util/dsc/configuration_generator.rb
+++ b/lib/chef/util/dsc/configuration_generator.rb
@@ -37,7 +37,7 @@ class Chef::Util::DSC
def configuration_document_from_script_path(script_path, configuration_name, configuration_flags, shellout_flags)
validate_configuration_name!(configuration_name)
-
+
document_generation_cmdlet = Chef::Util::Powershell::Cmdlet.new(
@node,
configuration_document_generation_code(script_path, configuration_name))
diff --git a/lib/chef/util/dsc/lcm_output_parser.rb b/lib/chef/util/dsc/lcm_output_parser.rb
index 6532d79d6f..91181b3089 100644
--- a/lib/chef/util/dsc/lcm_output_parser.rb
+++ b/lib/chef/util/dsc/lcm_output_parser.rb
@@ -64,7 +64,7 @@ class Chef
# Parses the output from LCM and returns a list of Chef::Util::DSC::ResourceInfo objects
# that describe how the resources affected the system
- #
+ #
# Example:
# parse <<-EOF
# What if: [Machine]: LCM: [Start Set ]
@@ -80,11 +80,11 @@ class Chef
#
# [
# Chef::Util::DSC::ResourceInfo.new(
- # '[[File]FileToNotBeThere]',
- # true,
+ # '[[File]FileToNotBeThere]',
+ # true,
# [
- # '[[File]FileToNotBeThere]',
- # '[C:\Shouldnotexist.txt]',
+ # '[[File]FileToNotBeThere]',
+ # '[C:\Shouldnotexist.txt]',
# '[[File]FileToNotBeThere] in 0.1 seconds'
# ]
# )