diff options
author | Tim Smith <tsmith@chef.io> | 2018-09-07 14:37:50 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-09-07 14:37:50 -0700 |
commit | 94950242ab21af1b046518adac53b908311d7354 (patch) | |
tree | d9f550e023a9f64b72d1a382eb2c7c1fa37c54a4 /lib/chef/provider/dsc_resource.rb | |
parent | 67e6a0572261f42e0d58d6079fbe2933744e8aaf (diff) | |
download | chef-94950242ab21af1b046518adac53b908311d7354.tar.gz |
Properly capitalize PowerShell in descriptions and errorspowershell
It's PowerShell not Powershell. Our docs site had already been updated.
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/provider/dsc_resource.rb')
-rw-r--r-- | lib/chef/provider/dsc_resource.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/provider/dsc_resource.rb b/lib/chef/provider/dsc_resource.rb index 3a209a08a1..864373f902 100644 --- a/lib/chef/provider/dsc_resource.rb +++ b/lib/chef/provider/dsc_resource.rb @@ -48,10 +48,10 @@ class Chef def define_resource_requirements requirements.assert(:run) do |a| a.assertion { supports_dsc_invoke_resource? } - err = ["You must have Powershell version >= 5.0.10018.0 to use dsc_resource."] + err = ["You must have PowerShell version >= 5.0.10018.0 to use dsc_resource."] a.failure_message Chef::Exceptions::ProviderNotFound, err - a.whyrun err + ["Assuming a previous resource installs Powershell 5.0.10018.0 or higher."] + a.whyrun err + ["Assuming a previous resource installs PowerShell 5.0.10018.0 or higher."] a.block_action! end requirements.assert(:run) do |a| |