summaryrefslogtreecommitdiff
path: root/lib/chef/util
diff options
context:
space:
mode:
authorNimishaS <nimisha.sharad@msystechnologies.com>2016-09-23 09:59:51 +0000
committerNimishaS <nimisha.sharad@msystechnologies.com>2016-09-30 12:22:45 +0530
commit5536af82e9d6e825d988ce769bc42a61cfefcb32 (patch)
tree7749cbca5e7cc65cd59e0e7c9cb71d1f071d13a9 /lib/chef/util
parent4f738f8aaf0fb6f1ee0f24a123640d5abf57a800 (diff)
downloadchef-5536af82e9d6e825d988ce769bc42a61cfefcb32.tar.gz
set erroraction stop instead of continue
Signed-off-by: NimishaS <nimisha.sharad@msystechnologies.com>
Diffstat (limited to 'lib/chef/util')
-rw-r--r--lib/chef/util/dsc/local_configuration_manager.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/util/dsc/local_configuration_manager.rb b/lib/chef/util/dsc/local_configuration_manager.rb
index 741c6a5898..d837a16185 100644
--- a/lib/chef/util/dsc/local_configuration_manager.rb
+++ b/lib/chef/util/dsc/local_configuration_manager.rb
@@ -74,7 +74,7 @@ class Chef::Util::DSC
def lcm_command_code(configuration_path, test_only_parameters)
<<-EOH
-$ProgressPreference = 'SilentlyContinue';start-dscconfiguration -path #{@configuration_path} -wait -erroraction 'continue' -force #{test_only_parameters}
+$ProgressPreference = 'SilentlyContinue';start-dscconfiguration -path #{@configuration_path} -wait -erroraction 'stop' -force #{test_only_parameters}
EOH
end