Skip to content

Instantly share code, notes, and snippets.

@azizshamim
Last active December 14, 2015 20:38
Show Gist options
  • Save azizshamim/5144868 to your computer and use it in GitHub Desktop.
Save azizshamim/5144868 to your computer and use it in GitHub Desktop.
awesome vagrant errors with windows 7
#< CLIXML
<Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04"><S S="Error">Resolve-Path : Cannot find path 'C:\tmp\vagrant-puppet\manifests' because it do_x000D__x000A_</S><S S="Error">es not exist._x000D__x000A_</S><S S="Error">At line:7 char:15_x000D__x000A_</S><S S="Error">+ Resolve-Path &lt;&lt;&lt;&lt; $path| Out-Null;_x000D__x000A_</S><S S="Error"> + CategoryInfo : ObjectNotFound: (C:\tmp\vagrant-puppet\manifests _x000D__x000A_</S><S S="Error"> :String) [Resolve-Path], ItemNotFoundException_x000D__x000A_</S><S S="Error"> + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.Resol _x000D__x000A_</S><S S="Error"> vePathCommand_x000D__x000A_</S><S S="Error"> _x000D__x000A_</S></Objs>
#< CLIXML
<Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04"><S S="Error">Resolve-Path : Cannot find path 'C:\tmp\vagrant-puppet\modules-0' because it do_x000D__x000A_</S><S S="Error">es not exist._x000D__x000A_</S><S S="Error">At line:7 char:15_x000D__x000A_</S><S S="Error">+ Resolve-Path &lt;&lt;&lt;&lt; $path| Out-Null;_x000D__x000A_</S><S S="Error"> + CategoryInfo : ObjectNotFound: (C:\tmp\vagrant-puppet\modules-0 _x000D__x000A_</S><S S="Error"> :String) [Resolve-Path], ItemNotFoundException_x000D__x000A_</S><S S="Error"> + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.Resol _x000D__x000A_</S><S S="Error"> vePathCommand_x000D__x000A_</S><S S="Error"> _x000D__x000A_</S></Objs>
#< CLIXML
<Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04"><S S="Error">Get-Command : The term 'puppet' is not recognized as the name of a cmdlet, func_x000D__x000A_</S><S S="Error">tion, script file, or operable program. Check the spelling of the name, or if a_x000D__x000A_</S><S S="Error"> path was included, verify that the path is correct and try again._x000D__x000A_</S><S S="Error">At line:2 char:35_x000D__x000A_</S><S S="Error">+ $command = [Array](Get-Command &lt;&lt;&lt;&lt; $args[0] -errorAction continue)_x000D__x000A_</S><S S="Error"> + CategoryInfo : ObjectNotFound: (puppet:String) [Get-Command], C _x000D__x000A_</S><S S="Error"> ommandNotFoundException_x000D__x000A_</S><S S="Error"> + FullyQualifiedErrorId : CommandNotFoundException,Microsoft.PowerShell.Co _x000D__x000A_</S><S S="Error"> mmands.GetCommandCommand_x000D__x000A_</S><S S="Error"> _x000D__x000A_</S><S S="Error">Cannot index into a null array._x000D__x000A_</S><S S="Error">At line:3 char:26_x000D__x000A_</S><S S="Error">+ write-host $command[ &lt;&lt;&lt;&lt; 0].Definition_x000D__x000A_</S><S S="Error"> + CategoryInfo : InvalidOperation: (0:Int32) [], RuntimeException_x000D__x000A_</S><S S="Error"> + FullyQualifiedErrorId : NullArray_x000D__x000A_</S><S S="Error"> _x000D__x000A_</S></Objs>
[windows-7-box] Running Puppet with /tmp/vagrant-puppet/manifests/site.pp...
#< CLIXML
<Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04"><S S="Error">The token '&amp;&amp;' is not a valid statement separator in this version._x000D__x000A_</S><S S="Error">At line:25 char:36_x000D__x000A_</S><S S="Error">+ cd /tmp/vagrant-puppet/manifests &amp;&amp; &lt;&lt;&lt;&lt; puppet apply --verbose --debug --gr_x000D__x000A_</S><S S="Error">aph --graphdir=/vagrant/graph/td-wss10.test.ise.com --modulepath '/tmp/vagrant-_x000D__x000A_</S><S S="Error">puppet/modules-0' /tmp/vagrant-puppet/manifests/site.pp --detailed-exitcodes ||_x000D__x000A_</S><S S="Error"> [ $? -eq 2 ]_x000D__x000A_</S><S S="Error"> + CategoryInfo : ParserError: (&amp;&amp;:String) [], ParentContainsError _x000D__x000A_</S><S S="Error"> RecordException_x000D__x000A_</S><S S="Error"> + FullyQualifiedErrorId : InvalidEndOfLine_x000D__x000A_</S><S S="Error"> _x000D__x000A_</S></Objs>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment