diff options
author | Florian Heberl <49693964+floh96@users.noreply.github.com> | 2021-02-13 11:43:15 +0100 |
---|---|---|
committer | Florian Heberl <florian.heberl@hotmail.de> | 2021-02-13 11:54:32 +0100 |
commit | 6d83ef57f6e7849c5a38bbb7ed9961bcd1f97e64 (patch) | |
tree | fe7d681a5b2fedc4a9c19174bfe48a4535b41086 | |
parent | f8a2d0a60fe451596c80de6d640088a7f4e8f1c4 (diff) | |
download | chef-6d83ef57f6e7849c5a38bbb7ed9961bcd1f97e64.tar.gz |
Fix typo in powershell_script.rb
Signed-off-by: Florian Heberl <florian.heberl@hotmail.de>
-rw-r--r-- | lib/chef/resource/powershell_script.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/powershell_script.rb b/lib/chef/resource/powershell_script.rb index eb72518009..b0be81feaa 100644 --- a/lib/chef/resource/powershell_script.rb +++ b/lib/chef/resource/powershell_script.rb @@ -27,7 +27,7 @@ class Chef provides :powershell_script, os: "windows" description <<~DESC - Use the **powershell_script** resource to execute a script using the Windows PowerShell interpreter, much like how the script and script-based resources **bash**, **csh**, **perl**, **python**, and **ruby** are used. The **powershell_script** resource is specific to the Microsoft Windows platform, but may use both the the Windows PowerShell interpreter or the PowerShell Core (pwsh) interpreter as of Chef Infra Client 16.6 and later. + Use the **powershell_script** resource to execute a script using the Windows PowerShell interpreter, much like how the script and script-based resources **bash**, **csh**, **perl**, **python**, and **ruby** are used. The **powershell_script** resource is specific to the Microsoft Windows platform, but may use both the Windows PowerShell interpreter or the PowerShell Core (pwsh) interpreter as of Chef Infra Client 16.6 and later. The **powershell_script** resource creates and executes a temporary file rather than running the command inline. Commands that are executed with this resource are (by their nature) not idempotent, as they are typically unique to the environment in which they are run. Use `not_if` and `only_if` conditionals to guard this resource for idempotence. DESC |