summaryrefslogtreecommitdiff
path: root/lib/chef/provider/package/powershell.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-09-07 14:37:50 -0700
committerTim Smith <tsmith@chef.io>2018-09-07 14:37:50 -0700
commit94950242ab21af1b046518adac53b908311d7354 (patch)
treed9f550e023a9f64b72d1a382eb2c7c1fa37c54a4 /lib/chef/provider/package/powershell.rb
parent67e6a0572261f42e0d58d6079fbe2933744e8aaf (diff)
downloadchef-powershell.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/package/powershell.rb')
-rw-r--r--lib/chef/provider/package/powershell.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/package/powershell.rb b/lib/chef/provider/package/powershell.rb
index a65146b1e3..9af1344138 100644
--- a/lib/chef/provider/package/powershell.rb
+++ b/lib/chef/provider/package/powershell.rb
@@ -37,7 +37,7 @@ class Chef
def define_resource_requirements
super
if powershell_out("$PSVersionTable.PSVersion.Major").stdout.strip.to_i < 5
- raise "Minimum installed Powershell Version required is 5"
+ raise "Minimum installed PowerShell Version required is 5"
end
requirements.assert(:install) do |a|
a.assertion { candidates_exist_for_all_uninstalled? }