summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBryan McLellan <btm@loftninjas.org>2016-09-30 12:07:39 -0400
committerGitHub <noreply@github.com>2016-09-30 12:07:39 -0400
commitf44960c65420e1af5afe85de12ef1e9849999356 (patch)
treeb993384424de6701c94f88efc4695d1fee59bb23 /lib
parentc227b21dbe91d530cea9e3dfd3837a577392b14b (diff)
parent5536af82e9d6e825d988ce769bc42a61cfefcb32 (diff)
downloadchef-f44960c65420e1af5afe85de12ef1e9849999356.tar.gz
Merge pull request #5377 from MsysTechnologiesllc/nim/dsc_failure_reported_warning
Invalid `dsc_scripts` should fail the run
Diffstat (limited to 'lib')
-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