Skip to content

Instantly share code, notes, and snippets.

@cfoellmann
Last active January 21, 2016 21:56
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 cfoellmann/094289c8ca22170ad853 to your computer and use it in GitHub Desktop.
Save cfoellmann/094289c8ca22170ad853 to your computer and use it in GitHub Desktop.
provisioning chocolatey-test-environment
PS D:\chocolatey-test-environment> vagrant up > provision.log
The following WinRM command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
powershell -ExecutionPolicy Bypass -OutputFormat Text -file c:\tmp\vagrant-shell.ps1
Stdout from the command:
Stderr from the command:
PS D:\chocolatey-test-environment>
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Removing hosts
==> default: No machine id, nothing removed from C:/WINDOWS/system32/drivers/etc/hosts
==> default: Importing base box 'ferventcoder/win2012r2-x64-nocm'...
Progress: 10%
Progress: 20%
Progress: 90%
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'ferventcoder/win2012r2-x64-nocm' is up to date...
==> default: Setting the name of the VM: chocolatey-test-environment_default_1453412948469_23536
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
==> default: Forwarding ports...
default: 5985 => 5985 (adapter 1)
default: 3389 => 3389 (adapter 1)
default: 22 => 2222 (adapter 1)
==> default: Checking for host entries
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: WinRM address: 127.0.0.1:5985
default: WinRM username: vagrant
default: WinRM transport: plaintext
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
==> default: Mounting shared folders...
default: /vagrant => D:/chocolatey-test-environment
default: /packages => D:/chocolatey-test-environment/packages
==> default: Running provisioner: shell...
default: Running: shell/PrepareWindows.ps1 as c:\tmp\vagrant-shell.ps1
==> default: IE Enhanced Security Configuration (ESC) has been disabled.
==> default: IE first run welcome screen has been disabled.
==> default: Running provisioner: shell...
default: Running: shell/InstallNet4.ps1 as c:\tmp\vagrant-shell.ps1
==> default: Running provisioner: shell...
default: Running: shell/InstallChocolatey.ps1 as c:\tmp\vagrant-shell.ps1
==> default: Mode LastWriteTime Length Name
==> default:
==> default: ---- ------------- ------ ----
==> default: d---- 1/21/2016 9:52 PM chocInstall
==> default: Downloading https://chocolatey.org/api/v2/package/chocolatey/0.9.10-beta-20160121 to C:\Users\ADMINI~1\AppData\Local\Temp\chocolatey\chocInstall\chocolatey.zip
==> default: Download 7Zip commandline tool
==> default:
==> default: Downloading https://chocolatey.org/7za.exe to C:\Users\ADMINI~1\AppData\Local\Temp\chocolatey\chocInstall\7za.exe
==> default: Extracting C:\Users\ADMINI~1\AppData\Local\Temp\chocolatey\chocInstall\chocolatey.zip to C:\Users\ADMINI~1\AppData\Local\Temp\chocolatey\chocInstall...
==> default: 7-Zip (A) 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18
==> default:
==> default: Processing archive: C:\Users\ADMINI~1\AppData\Local\Temp\chocolatey\chocInstall\chocolatey.zip
==> default:
==> default: Extracting _rels\.rels
==> default: Extracting chocolatey.nuspec
==> default: Extracting tools\chocolateyInstall.ps1
==> default: Extracting tools\chocolateysetup.psm1
==> default: Extracting tools\init.ps1
==> default: Extracting tools\chocolateyInstall\choco.exe
==> default:
==> default: Extracting tools\chocolateyInstall\choco.exe.ignore
==> default: Extracting tools\chocolateyInstall\LICENSE.txt
==> default: Extracting tools\chocolateyInstall\helpers\chocolateyInstaller.psm1
==> default: Extracting tools\chocolateyInstall\helpers\chocolateyScriptRunner.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Format-FileSize.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Get-BinRoot.ps1
==> default:
==> default: Extracting tools\chocolateyInstall\helpers\functions\Get-CheckSumValid.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Get-ChocolateyUnzip.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Get-ChocolateyWebFile.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Get-EnvironmentVariable.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Get-EnvironmentVariableNames.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Get-FtpFile.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Get-ProcessorBits.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Get-UACEnabled.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Get-VirusCheckValid.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Get-WebFile.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Get-WebHeaders.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Install-BinFile.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Install-ChocolateyDesktopLink.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Install-ChocolateyEnvironmentVariable.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Install-ChocolateyExplorerMenuItem.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Install-ChocolateyFileAssociation.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Install-ChocolateyInstallPackage.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Install-ChocolateyPackage.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Install-ChocolateyPath.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Install-ChocolateyPinnedTaskBarItem.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Install-ChocolateyPowershellCommand.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Install-ChocolateyShortcut.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Install-ChocolateyVsixPackage.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Install-ChocolateyZipPackage.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Set-EnvironmentVariable.ps1
==> default:
==> default: Extracting tools\chocolateyInstall\helpers\functions\Start-ChocolateyProcessAsAdmin.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Test-ProcessAdminRights.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Uninstall-BinFile.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Uninstall-ChocolateyPackage.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\UnInstall-ChocolateyZipPackage.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Update-SessionEnvironment.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Write-ChocolateyFailure.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Write-ChocolateySuccess.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Write-FileUpdateLog.ps1
==> default: Extracting tools\chocolateyInstall\redirects\choco.exe
==> default: Extracting tools\chocolateyInstall\redirects\choco.exe.ignore
==> default: Extracting tools\chocolateyInstall\redirects\chocolatey.exe
==> default: Extracting tools\chocolateyInstall\redirects\chocolatey.exe.ignore
==> default: Extracting tools\chocolateyInstall\redirects\cinst.exe
==> default: Extracting tools\chocolateyInstall\redirects\cinst.exe.ignore
==> default: Extracting tools\chocolateyInstall\redirects\clist.exe
==> default: Extracting tools\chocolateyInstall\redirects\clist.exe.ignore
==> default: Extracting tools\chocolateyInstall\redirects\cpack.exe
==> default: Extracting tools\chocolateyInstall\redirects\cpack.exe.ignore
==> default: Extracting tools\chocolateyInstall\redirects\cpush.exe
==> default: Extracting tools\chocolateyInstall\redirects\cpush.exe.ignore
==> default: Extracting tools\chocolateyInstall\redirects\cuninst.exe
==> default: Extracting tools\chocolateyInstall\redirects\cuninst.exe.ignore
==> default: Extracting tools\chocolateyInstall\redirects\cup.exe
==> default: Extracting tools\chocolateyInstall\redirects\cup.exe.ignore
==> default: Extracting tools\chocolateyInstall\redirects\cver.exe
==> default: Extracting tools\chocolateyInstall\redirects\cver.exe.ignore
==> default: Extracting tools\chocolateyInstall\redirects\RefreshEnv.cmd
==> default: Extracting tools\chocolateyInstall\tools\7za.exe
==> default: Extracting tools\chocolateyInstall\tools\7za.exe.ignore
==> default: Extracting tools\chocolateyInstall\tools\7za.exe.manifest
==> default: Extracting tools\chocolateyInstall\tools\7zip.license.txt
==> default: Extracting tools\chocolateyInstall\tools\checksum.exe
==> default: Extracting tools\chocolateyInstall\tools\checksum.exe.ignore
==> default: Extracting tools\chocolateyInstall\tools\checksum.license.txt
==> default:
==> default: Extracting tools\chocolateyInstall\tools\shimgen.exe
==> default: Extracting tools\chocolateyInstall\tools\shimgen.exe.ignore
==> default: Extracting tools\chocolateyInstall\tools\shimgen.license.txt
==> default: Extracting package\services\metadata\core-properties\a262bd48c7a0439aaf113f6772ab8640.psmdcp
==> default: Extracting [Content_Types].xml
==> default:
==> default: Everything is Ok
==> default:
==> default: Files: 77
==> default: Size: 4991988
==> default: Compressed: 1838633
==> default: Installing chocolatey on this machine
==> default: Creating ChocolateyInstall as an environment variable (targeting 'Machine')
==> default:
==> default: Setting ChocolateyInstall to 'C:\ProgramData\chocolatey'
==> default: WARNING: It's very likely you will need to close and reopen your shell
==> default: before you can use choco.
==> default: Adding Modify permission for current user to 'C:\ProgramData\chocolatey'
==> default: We are setting up the Chocolatey package repository.
==> default:
==> default: The packages themselves go to 'C:\ProgramData\chocolatey\lib'
==> default: (i.e. C:\ProgramData\chocolatey\lib\yourPackageName).
==> default: A shim file for the command line goes to 'C:\ProgramData\chocolatey\bin'
==> default: and points to an executable in 'C:\ProgramData\chocolatey\lib\yourPackageName'.
==> default:
==> default: Creating Chocolatey folders if they do not already exist.
==> default:
==> default: WARNING: You can safely ignore errors related to missing log files when
==> default: upgrading from a version of Chocolatey less than 0.9.9.
==> default: 'Batch file could not be found' is also safe to ignore.
==> default: 'The system cannot find the file specified' - also safe.
==> default: chocolatey.nupkg file not installed in lib.
==> default:
==> default: Attempting to locate it from bootstrapper.
==> default: PATH environment variable does not have C:\ProgramData\chocolatey\bin in it. Adding...
==> default: Chocolatey (choco.exe) is now ready.
==> default:
==> default: You can call choco from anywhere, command line or powershell by typing choco.
==> default: Run choco /? for a list of functions.
==> default: You may need to shut down and restart powershell and/or consoles
==> default: first prior to using choco.
==> default: Ensuring chocolatey commands are on the path
==> default: Ensuring chocolatey.nupkg is in the lib folder
==> default: Chocolatey v0.9.10-beta1-66-gfe640fb
==> default: autoUninstaller was enabled by default. Explicitly setting value.
==> default:
==> default: Enabled autoUninstaller
==> default: Chocolatey v0.9.10-beta1-66-gfe640fb
==> default: Enabled allowGlobalConfirmation
==> default: Chocolatey v0.9.10-beta1-66-gfe640fb
==> default: Enabled logEnvironmentValues
==> default: Running provisioner: shell...
default: Running: shell/NotifyGuiAppsOfEnvironmentChanges.ps1 as c:\tmp\vagrant-shell.ps1
==> default: 1
==> default: Running provisioner: shell...
default: Running: inline PowerShell script
==> default: Testing package if a line is uncommented. Otherwise you will see an error.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment