Last active
August 29, 2015 14:23
-
-
Save iDVB/957c4e98cfd0a2023c95 to your computer and use it in GitHub Desktop.
Vagrant Puppet Error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bringing machine 'default' up with 'virtualbox' provider... | |
==> default: Importing base box 'win2008r2x64'... | |
[KProgress: 10% | |
[KProgress: 90% | |
[K==> default: Matching MAC address for NAT networking... | |
==> default: Setting the name of the VM: win2008r2x64-vagrant_default_1434678115209_76130 | |
==> default: Clearing any previously set network interfaces... | |
==> default: Preparing network interfaces based on configuration... | |
default: Adapter 1: nat | |
default: Adapter 2: hostonly | |
==> default: Forwarding ports... | |
default: 5985 => 5985 (adapter 1) | |
default: 3389 => 3389 (adapter 1) | |
default: 22 => 2222 (adapter 1) | |
==> default: Running 'pre-boot' VM customizations... | |
==> default: Booting VM... | |
==> default: Waiting for machine to boot. This may take a few minutes... | |
==> default: Machine booted and ready! | |
==> default: Checking for guest additions in VM... | |
default: The guest additions on this VM do not match the installed version of | |
default: VirtualBox! In most cases this is fine, but in rare cases it can | |
default: prevent things such as shared folders from working properly. If you see | |
default: shared folder errors, please make sure the guest additions within the | |
default: virtual machine match the version of VirtualBox you have installed on | |
default: your host and reload your VM. | |
default: | |
default: Guest Additions Version: 4.2.16 | |
default: VirtualBox Version: 4.3 | |
==> default: Configuring and enabling network interfaces... | |
==> default: Mounting shared folders... | |
default: /home => /Users/dvanbrunt | |
default: /vagrant => /Users/dvanbrunt/Projects/vagranttest/VagBoxes/boxes/win2008r2x64-vagrant | |
default: /vagrantshared => /Users/dvanbrunt/Projects/vagranttest/VagBoxes/boxes/shared | |
default: /tmp/vagrant-puppet-4/modules-0 => /Users/dvanbrunt/Projects/vagranttest/VagBoxes/boxes/win2008r2x64-vagrant/puppet/modules | |
default: /tmp/vagrant-puppet-4/manifests => /Users/dvanbrunt/Projects/vagranttest/VagBoxes/boxes/win2008r2x64-vagrant/puppet/manifests | |
default: /ProgramData/PuppetLabs/puppet/etc/modules => /Users/dvanbrunt/Projects/vagranttest/VagBoxes/boxes/win2008r2x64-vagrant/puppet/box_modules | |
==> default: Running provisioner: shell... | |
default: Running: c:\tmp\vagrant-shell.cmd | |
==> default: C:\Windows\system32>echo 'Ensuring .NET 4.0 is installed' | |
==> default: | |
==> default: 'Ensuring .NET 4.0 is installed' | |
==> default: Installing 'c:\vagrantshared\resources\NetFx4\dotNetFx40_Full_x86_x64.exe' - this may take awhile with no output. | |
==> default: C:\Windows\system32>echo 'Ensuring Chocolatey is Installed' | |
==> default: 'Ensuring Chocolatey is Installed' | |
==> default: Mode LastWriteTime Length Name | |
==> default: ---- ------------- ------ ---- | |
==> default: d---- 6/19/2015 1:45 AM chocInstall | |
==> default: Downloading https://chocolatey.org/api/v2/package/chocolatey/ 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: | |
==> default: | |
==> 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: Extracting tools\chocolateyInstall\choco.exe.ignore | |
==> default: Extracting package\services\metadata\core-properties\61804721eec44e8592a61904d0a62022.psmdcp | |
==> default: Extracting [Content_Types].xml | |
==> default: | |
==> default: Everything is Ok | |
==> default: | |
==> default: Files: 9 | |
==> default: Size: 3738621 | |
==> default: Compressed: 1259522 | |
==> default: Write-Host : The OS handle's position is not what FileStream expected. Do not u | |
==> default: | |
==> default: se a handle simultaneously in one FileStream and in Win32 code or another FileS | |
==> default: tream. This may cause data loss. | |
==> default: At line:73 char:11 | |
==> default: + Write-Host <<<< "Installing chocolatey on this machine" | |
==> default: + CategoryInfo : NotSpecified: (:) [Write-Host], IOException | |
==> default: + FullyQualifiedErrorId : System.IO.IOException,Microsoft.PowerShell.Comma | |
==> default: nds.WriteHostCommand | |
==> default: | |
==> default: Chocolatey v0.9.9.6 | |
==> default: Chocolatey is unpacking required files for use. Overwriting? True | |
==> default: The OS handle's position is not what FileStream expected. Do not use a handle simultaneously in one FileStream and in Win32 code or another FileStream. This may cause data loss. | |
==> default: | |
==> default: | |
==> default: C:\Windows\system32>echo 'Checking if puppet server has been added to hosts file' | |
==> default: 'Checking if puppet server has been added to hosts file' | |
==> default: | |
==> default: C:\Windows\system32>call ping puppet | |
==> default: Ping request could not find host puppet. Please check the name and try again. | |
==> default: C:\Windows\system32>if 1 NEQ 0 goto addpuppethost | |
==> default: | |
==> default: C:\Windows\system32>echo 'Adding puppet (192.168.0.6) to hosts file. This is the same private IP that the centos-6.4-x64 box uses.' | |
==> default: 'Adding puppet (192.168.0.6) to hosts file. This is the same private IP that the centos-6.4-x64 box uses.' | |
==> default: | |
==> default: C:\Windows\system32>echo 192.168.0.6 puppet 1>>C:\Windows\System32\Drivers\etc\hosts | |
==> default: | |
==> default: C:\Windows\system32>goto continue | |
==> default: | |
==> default: C:\Windows\system32>echo 'Ensuring Time Service is on' | |
==> default: 'Ensuring Time Service is on' | |
==> default: | |
==> default: C:\Windows\system32>net start w32time | |
==> default: The requested service has already been started. | |
==> default: | |
==> default: More help is available by typing NET HELPMSG 2182. | |
==> default: | |
==> default: | |
==> default: C:\Windows\system32>w32tm /resync | |
==> default: Sending resync command to local computer | |
==> default: The command completed successfully. | |
==> default: | |
==> default: | |
==> default: C:\Windows\system32>echo 'Ensuring TCP/IP NetBIOS Helper Service (lmhosts) is on' | |
==> default: 'Ensuring TCP/IP NetBIOS Helper Service (lmhosts) is on' | |
==> default: | |
==> default: C:\Windows\system32>sc config lmhosts start= auto | |
==> default: [SC] ChangeServiceConfig SUCCESS | |
==> default: | |
==> default: C:\Windows\system32>net start lmhosts | |
==> default: The TCP/IP NetBIOS Helper service is starting. | |
==> default: The TCP/IP NetBIOS Helper service was started successfully. | |
==> default: | |
==> default: | |
==> default: | |
==> default: C:\Windows\system32>echo 'Install puppet if missing' | |
==> default: 'Install puppet if missing' | |
==> default: Going Puppet 64-bit. | |
==> default: | |
==> default: Puppet is not installed, continuing... | |
==> default: Installing Puppet. Running msiexec.exe /qn /norestart /i c:\vagrantshared\resources\installers\puppet-agent-x64.msi | |
==> default: Notifing processes of PATH Change | |
==> default: 1 | |
==> default: | |
==> default: Puppet successfully installed. | |
==> default: | |
==> default: C:\Windows\system32>certutil -v -addstore Root "c:\vagrantshared\resources\certs\geotrust.global.pem" | |
==> default: Root | |
==> default: Signature matches Public Key | |
==> default: Certificate "CN=GeoTrust Global CA, O=GeoTrust Inc., C=US" added to store. | |
==> default: CertUtil: -addstore command completed successfully. | |
==> default: | |
==> default: C:\Windows\system32>certutil -v -addstore Root "c:\vagrantshared\resources\certs\usertrust.network.pem" | |
==> default: Root | |
==> default: Signature matches Public Key | |
==> default: | |
==> default: Certificate "CN=UTN-USERFirst-Hardware, OU=http://www.usertrust.com, O=The USERTRUST Network, L=Salt Lake City, S=UT, C=US" added to store. | |
==> default: CertUtil: -addstore command completed successfully. | |
==> default: | |
==> default: C:\Windows\system32>SET PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Git\cmd;C:\Program Files (x86)\Git\bin;C:\Program Files (x86)\Puppet Labs\Puppet\bin;C:\Program Files\Puppet Labs\Puppet\bin; | |
==> default: Running provisioner: puppet... | |
==> default: Running Puppet with site.pp... | |
==> default: #< CLIXML | |
==> default: <Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04"><S S="Error">The term 'puppet' is not recognized as the name of a cmdlet, function, script f_x000D__x000A_</S><S S="Error">ile, or operable program. Check the spelling of the name, or if a path was incl_x000D__x000A_</S><S S="Error">uded, verify that the path is correct and try again._x000D__x000A_</S><S S="Error">At line:1 char:136_x000D__x000A_</S><S S="Error">+ $env:FACTER_domain='local'; $env:FACTER_kernel='windows'; $env:FACTER_operati_x000D__x000A_</S><S S="Error">ngsystem='windows'; $env:FACTER_osfamily='windows'; puppet <<<< apply --debug _x000D__x000A_</S><S S="Error">--trace --verbose --modulepath '/tmp/vagrant-puppet-4/modules-0;/ProgramData/Pu_x000D__x000A_</S><S S="Error">ppetLabs/puppet/etc/modules' --color=false --manifestdir /tmp/vagrant-puppet-4/_x000D__x000A_</S><S S="Error">manifests --detailed-exitcodes /tmp/vagrant-puppet-4/manifests/site.pp; exit $L_x000D__x000A_</S><S S="Error">ASTEXITCODE_x000D__x000A_</S><S S="Error"> + CategoryInfo : ObjectNotFound: (puppet:String) [], CommandNotFo _x000D__x000A_</S><S S="Error"> undException_x000D__x000A_</S><S S="Error"> + FullyQualifiedErrorId : CommandNotFoundException_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