Skip to content

Instantly share code, notes, and snippets.

@jerryaldrichiii
Created April 3, 2019 22:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jerryaldrichiii/8a0c8bc89c1b4527f8b2283063bec582 to your computer and use it in GitHub Desktop.
Save jerryaldrichiii/8a0c8bc89c1b4527f8b2283063bec582 to your computer and use it in GitHub Desktop.
-----> Installing Chef Omnibus (install only if missing)
Downloading package from https://packages.chef.io/files/stable/chef/14.11.21/windows/2016/chef-client-14.11.21-1-x64.msi
Download complete.
Successfully verified C:\Users\azure\AppData\Local\Temp\chef-client-14.11.21-1-x64.msi
Installing Chef Omnibus package C:\Users\azure\AppData\Local\Temp\chef-client-14.11.21-1-x64.msi
$$$$$$ Get-PlatformVersion$env:http_proxy : The term 'Get-PlatformVersion$env:http_proxy' is not recognized as the name of a
$$$$$$ cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify
$$$$$$ that the path is correct and try again.
$$$$$$ At C:\windows\temp\winrm-elevated-shell-d5dd57c3-963f-41b1-bc7d-f6f6890ed2bf.ps1:181 char:21
$$$$$$ + $platform_version = Get-PlatformVersion$env:http_proxy = "http://np1p ...
$$$$$$ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
$$$$$$ + CategoryInfo : ObjectNotFound: (Get-PlatformVersion$env:http_proxy:String) [], CommandNotFoundException
$$$$$$ + FullyQualifiedErrorId : CommandNotFoundException
$$$$$$
$$$$$$ Get-Item : Cannot find path 'C:\Users\azure\AppData\Local\Temp\chef-client-14.11.21-1-x64.msi' because it does not
$$$$$$ exist.
$$$$$$ At C:\windows\temp\winrm-elevated-shell-d5dd57c3-963f-41b1-bc7d-f6f6890ed2bf.ps1:217 char:37
$$$$$$ + $bytes = $c.ComputeHash(($in = (Get-Item $src).OpenRead()))
$$$$$$ + ~~~~~~~~~~~~~
$$$$$$ + CategoryInfo : ObjectNotFound: (C:\Users\azure\...11.21-1-x64.msi:String) [Get-Item], ItemNotFoundExcep
$$$$$$ tion
$$$$$$ + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetItemCommand
$$$$$$
$$$$$$ You cannot call a method on a null-valued expression.
$$$$$$ At C:\windows\temp\winrm-elevated-shell-d5dd57c3-963f-41b1-bc7d-f6f6890ed2bf.ps1:217 char:30
$$$$$$ + $bytes = $c.ComputeHash(($in = (Get-Item $src).OpenRead()))
$$$$$$ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
$$$$$$ + CategoryInfo : InvalidOperation: (:) [], RuntimeException
$$$$$$ + FullyQualifiedErrorId : InvokeMethodOnNull
$$$$$$
$$$$$$ msiexec was not successful. Received exit code 1603
$$$$$$ At C:\windows\temp\winrm-elevated-shell-d5dd57c3-963f-41b1-bc7d-f6f6890ed2bf.ps1:284 char:5
$$$$$$ + throw "msiexec was not successful. Received exit code $($p.ExitCo ...
$$$$$$ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
$$$$$$ + CategoryInfo : OperationStopped: (msiexec was not... exit code 1603:String) [], RuntimeException
$$$$$$ + FullyQualifiedErrorId : msiexec was not successful. Received exit code 1603
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::ActionFailed
>>>>>> Message: 1 actions failed.
>>>>>> Converge failed on instance <default-windows2016>. Please see .kitchen/logs/default-windows2016.log for more details
>>>>>> ----------------------
>>>>>> Please see .kitchen/logs/kitchen.log for more details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment