Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
first run of IIS cookbook under Vagrant 1.3.x with vagrant-windows
$ vagrant destroy -f && vagrant up
[default] Forcing shutdown of VM...
[default] Destroying VM and associated drives...
[Berkshelf] Cleaning Vagrant's berkshelf
[default] Running cleanup tasks for 'chef_solo' provisioner...
Bringing machine 'default' up with 'virtualbox' provider...
[default] Importing base box 'windows-2012-standard'...
[default] Matching MAC address for NAT networking...
[default] Setting the name of the VM...
[default] Clearing any previously set forwarded ports...
[Berkshelf] This version of the Berkshelf plugin has not been fully tested on this version of Vagrant.
[Berkshelf] You should check for a newer version of vagrant-berkshelf.
[Berkshelf] If you encounter any errors with this version, please report them at https://github.com/RiotGames/vagrant-berkshelf/issues
[Berkshelf] You can also join the discussion in #berkshelf on Freenode.
[Berkshelf] Updating Vagrant's berkshelf: '/Users/juliandunn/.berkshelf/default/vagrant/berkshelf-20130923-72994-11jzedz-default'
[Berkshelf] Using iis (1.5.2) from metadata
[Berkshelf] Using windows (1.10.0)
[Berkshelf] Using chef_handler (1.1.4)
[Berkshelf] Using webpi (1.2.2)
[default] Fixed port collision for 22 => 2222. Now on port 2200.
[default] Creating shared folders metadata...
[default] Clearing any previously set network interfaces...
[default] Preparing network interfaces based on configuration...
[default] Forwarding ports...
[default] -- 22 => 2200 (adapter 1)
[default] -- 5985 => 5985 (adapter 1)
[default] Booting VM...
[default] Waiting for machine to boot. This may take a few minutes...
[default] Machine booted and ready!
[default] Mounting shared folders...
[default] -- /vagrant
[default] -- /tmp/vagrant-chef-1/chef-solo-1/cookbooks
[default] Running provisioner: chef_solo...
Generating chef JSON and uploading...
Running chef-solo...
ERROR: The system cannot find the path specified.
#< CLIXML
[2013-09-23T17:50:14+00:00] INFO: *** Chef 11.6.0 ***
[2013-09-23T17:52:21+00:00] INFO: Setting the run_list to ["recipe[iis]"] from JSON
[2013-09-23T17:52:26+00:00] INFO: Run List is [recipe[iis]]
[2013-09-23T17:52:26+00:00] INFO: Run List expands to [iis]
[2013-09-23T17:52:26+00:00] INFO: Starting Chef Run for vagrant-2012
[2013-09-23T17:52:27+00:00] INFO: Running start handlers
[2013-09-23T17:52:27+00:00] INFO: Start handlers complete.
[2013-09-23T17:52:51+00:00] INFO: remote_file[msi] created file /var/chef/cache/wpi.msi
[2013-09-23T17:53:01+00:00] INFO: remote_file[msi] updated file contents /var/chef/cache/wpi.msi
[2013-09-23T17:53:21+00:00] INFO: Installing windows_package[Microsoft Web Platform Installer 4.5] version latest
[2013-09-23T17:53:23+00:00] INFO: Starting installation...this could take awhile.
INFO: Could not find files for the given pattern(s).
[2013-09-23T17:59:43+00:00] INFO: webpi_product[IIS7] added new product 'IIS7'
[2013-09-23T17:59:44+00:00] INFO: webpi_product[IIS7] sending run action to execute[Register ASP.NET v4] (immediate)
[2013-09-23T17:59:47+00:00] INFO: execute[Register ASP.NET v4] ran successfully
[2013-09-23T17:59:48+00:00] INFO: webpi_product[IIS7] sending run action to execute[Register ASP.NET v4 (x64)] (immediate)
[2013-09-23T17:59:52+00:00] INFO: execute[Register ASP.NET v4 (x64)] ran successfully
[2013-09-23T17:59:52+00:00] INFO: Chef Run complete in 445.349883 seconds
[2013-09-23T17:59:52+00:00] INFO: Running report handlers
[2013-09-23T17:59:52+00:00] INFO: Report handlers complete
<Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04"><S S="Error">get-content : Cannot find path 'C:\tmp\vagrant-chef-1\chef-solo.log' because _x000D__x000A_</S><S S="Error">it does not exist._x000D__x000A_</S><S S="Error">At C:\tmp\vagrant-chef-1\cheftask.ps1:37 char:12_x000D__x000A_</S><S S="Error">+ $text = (get-content "c:\tmp\vagrant-chef-1\chef-solo.log")_x000D__x000A_</S><S S="Error">+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_x000D__x000A_</S><S S="Error"> + CategoryInfo : ObjectNotFound: (C:\tmp\vagrant-chef-1\chef-solo _x000D__x000A_</S><S S="Error"> .log:String) [Get-Content], ItemNotFoundException_x000D__x000A_</S><S S="Error"> + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetCo _x000D__x000A_</S><S S="Error"> ntentCommand_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
You can’t perform that action at this time.