summaryrefslogtreecommitdiff
path: root/lib/chef/util
diff options
context:
space:
mode:
authorpiyushawasthi <piyush.awasthi@msystechnologies.com>2017-09-11 13:33:03 +0530
committerBryan McLellan <btm@loftninjas.org>2017-09-12 12:01:15 -0400
commitf73df93a517c35719e3ba76a1311cb8daf8437e7 (patch)
tree9a2dafc710f09cbc35451b88fcbaea87ebe4e5bf /lib/chef/util
parent527d7f43e5c1a9ac8c04092420834cc0d71163d1 (diff)
downloadchef-f73df93a517c35719e3ba76a1311cb8daf8437e7.tar.gz
Code refactor and add spec for powershell version 5
Signed-off-by: piyushawasthi <piyush.awasthi@msystechnologies.com>
Diffstat (limited to 'lib/chef/util')
-rw-r--r--lib/chef/util/dsc/local_configuration_manager.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/chef/util/dsc/local_configuration_manager.rb b/lib/chef/util/dsc/local_configuration_manager.rb
index 0d929da5a8..1f154b1c71 100644
--- a/lib/chef/util/dsc/local_configuration_manager.rb
+++ b/lib/chef/util/dsc/local_configuration_manager.rb
@@ -73,7 +73,6 @@ class Chef::Util::DSC
def lcm_command(apply_configuration)
common_command_prefix = "$ProgressPreference = 'SilentlyContinue';"
ps4_base_command = "#{common_command_prefix} Start-DscConfiguration -path #{@configuration_path} -wait -erroraction 'stop' -force"
-
if apply_configuration
ps4_base_command
else