Last active
May 9, 2018 21:54
-
-
Save afiune/aefda6e085eb8e524039 to your computer and use it in GitHub Desktop.
Making test-kitchen/kitchen-vagrant works with WindowsGuest using WinRM protocol [Progress]
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
salimafiune@afiunechef:~/github/tk-windows | |
$ kitchen list | |
Instance Driver Provisioner Last Action | |
default-windows-2008R2-SP1 Ec2Windows ChefZero Converged | |
salimafiune@afiunechef:~/github/tk-windows | |
$ kitchen destroy | |
-----> Starting Kitchen (v1.3.0) | |
-----> Destroying <default-windows-2008R2-SP1>... | |
EC2 instance <i-923c0ab9> destroyed. | |
Finished destroying <default-windows-2008R2-SP1> (0m2.43s). | |
-----> Kitchen is finished. (0m3.92s) | |
salimafiune@afiunechef:~/github/tk-windows | |
$ kitchen list | |
Instance Driver Provisioner Last Action | |
default-windows-2008R2-SP1 Ec2Windows ChefZero <Not Created> | |
salimafiune@afiunechef:~/github/tk-windows | |
$ kitchen converge | |
-----> Starting Kitchen (v1.3.0) | |
-----> Creating <default-windows-2008R2-SP1>... | |
EC2 instance <i-d6b086fd> created. | |
................ (server ready) | |
Waiting for chef@ec2-54-210-11-45.compute-1.amazonaws.com:5985... | |
Waiting for chef@ec2-54-210-11-45.compute-1.amazonaws.com:5985... | |
Waiting for chef@ec2-54-210-11-45.compute-1.amazonaws.com:5985... | |
Waiting for chef@ec2-54-210-11-45.compute-1.amazonaws.com:5985... | |
Waiting for chef@ec2-54-210-11-45.compute-1.amazonaws.com:5985... | |
Waiting for chef@ec2-54-210-11-45.compute-1.amazonaws.com:5985... | |
Waiting for chef@ec2-54-210-11-45.compute-1.amazonaws.com:5985... | |
Waiting for chef@ec2-54-210-11-45.compute-1.amazonaws.com:5985... | |
Waiting for chef@ec2-54-210-11-45.compute-1.amazonaws.com:5985... | |
Waiting for chef@ec2-54-210-11-45.compute-1.amazonaws.com:5985... | |
Waiting for chef@ec2-54-210-11-45.compute-1.amazonaws.com:5985... | |
Waiting for chef@ec2-54-210-11-45.compute-1.amazonaws.com:5985... | |
Waiting for chef@ec2-54-210-11-45.compute-1.amazonaws.com:5985... | |
Waiting for chef@ec2-54-210-11-45.compute-1.amazonaws.com:5985... | |
Waiting for chef@ec2-54-210-11-45.compute-1.amazonaws.com:5985... | |
Waiting for chef@ec2-54-210-11-45.compute-1.amazonaws.com:5985... | |
Waiting for chef@ec2-54-210-11-45.compute-1.amazonaws.com:5985... | |
Waiting for chef@ec2-54-210-11-45.compute-1.amazonaws.com:5985... | |
Waiting for chef@ec2-54-210-11-45.compute-1.amazonaws.com:5985... | |
Waiting for chef@ec2-54-210-11-45.compute-1.amazonaws.com:5985... | |
Waiting for chef@ec2-54-210-11-45.compute-1.amazonaws.com:5985... | |
Waiting for chef@ec2-54-210-11-45.compute-1.amazonaws.com:5985... | |
[OK] Server finally reachable... | |
(WinRM ready)\n | |
Finished creating <default-windows-2008R2-SP1> (5m12.58s). | |
-----> Converging <default-windows-2008R2-SP1>... | |
Preparing files for transfer | |
Resolving cookbook dependencies with Berkshelf 3.1.4... | |
Removing non-cookbook files before transfer | |
-----> Installing Chef Omnibus (true) | |
[2] [#################################################################################] Completed! | |
Transferring files to <default-windows-2008R2-SP1> | |
[2014-07-17T23:53:04+00:00] INFO: Starting chef-zero on port 8889 with repository at repository at C:/tmp/kitchen | |
One version per cookbook | |
[2014-07-17T23:53:04+00:00] WARN: | |
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * | |
SSL validation of HTTPS requests is disabled. HTTPS connections are still | |
encrypted, but chef is not able to detect forged replies or man in the middle | |
attacks. | |
To fix this issue add an entry like this to your configuration file: | |
``` | |
# Verify all HTTPS connections (recommended) | |
ssl_verify_mode :verify_peer | |
# OR, Verify only connections to chef-server | |
verify_api_cert true | |
``` | |
To check your SSL configuration, or troubleshoot errors, you can use the | |
`knife ssl check` command like so: | |
``` | |
knife ssl check -c /tmp/kitchen/client.rb | |
``` | |
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * | |
[2014-07-17T23:53:10+00:00] INFO: *** Chef 11.12.8 *** | |
[2014-07-17T23:53:10+00:00] INFO: Chef-client pid: 2392 | |
[2014-07-17T23:53:31+00:00] INFO: Client key /tmp/kitchen/client.pem is not present - registering | |
[2014-07-17T23:53:31+00:00] INFO: HTTP Request Returned 404 Not Found : Object not found: http://127.0.0.1:8889/nodes/default-windows-2008R2-SP1 | |
[2014-07-17T23:53:31+00:00] INFO: Setting the run_list to ["recipe[tk-windows::default]"] from CLI options | |
[2014-07-17T23:53:31+00:00] INFO: Run List is [recipe[tk-windows::default]] | |
[2014-07-17T23:53:31+00:00] INFO: Run List expands to [tk-windows::default] | |
[2014-07-17T23:53:31+00:00] INFO: Starting Chef Run for default-windows-2008R2-SP1 | |
[2014-07-17T23:53:31+00:00] INFO: Running start handlers | |
[2014-07-17T23:53:31+00:00] INFO: Start handlers complete. | |
[2014-07-17T23:53:31+00:00] INFO: HTTP Request Returned 404 Not Found : Object not found: /reports/nodes/default-windows-2008R2-SP1/runs | |
[2014-07-17T23:53:33+00:00] INFO: Loading cookbooks [tk-windows@0.1.0, iis@2.1.2, windows@1.31.0, chef_handler@1.1.6] | |
[2014-07-17T23:53:33+00:00] INFO: Storing updated cookbooks/tk-windows/recipes/default.rb in the cache. | |
[2014-07-17T23:53:33+00:00] INFO: Storing updated cookbooks/tk-windows/metadata.json in the cache. | |
[2014-07-17T23:53:33+00:00] INFO: Storing updated cookbooks/tk-windows/README.md in the cache. | |
[2014-07-17T23:53:33+00:00] INFO: Storing updated cookbooks/iis/resources/app.rb in the cache. | |
[2014-07-17T23:53:33+00:00] INFO: Storing updated cookbooks/iis/resources/config.rb in the cache. | |
[2014-07-17T23:53:33+00:00] INFO: Storing updated cookbooks/iis/resources/module.rb in the cache. | |
[2014-07-17T23:53:33+00:00] INFO: Storing updated cookbooks/iis/resources/pool.rb in the cache. | |
[2014-07-17T23:53:33+00:00] INFO: Storing updated cookbooks/iis/resources/site.rb in the cache. | |
[2014-07-17T23:53:33+00:00] INFO: Storing updated cookbooks/iis/providers/app.rb in the cache. | |
[2014-07-17T23:53:33+00:00] INFO: Storing updated cookbooks/iis/providers/config.rb in the cache. | |
[2014-07-17T23:53:33+00:00] INFO: Storing updated cookbooks/iis/providers/module.rb in the cache. | |
[2014-07-17T23:53:33+00:00] INFO: Storing updated cookbooks/iis/providers/pool.rb in the cache. | |
[2014-07-17T23:53:33+00:00] INFO: Storing updated cookbooks/iis/providers/site.rb in the cache. | |
[2014-07-17T23:53:34+00:00] INFO: Storing updated cookbooks/iis/recipes/default.rb in the cache. | |
[2014-07-17T23:53:34+00:00] INFO: Storing updated cookbooks/iis/recipes/mod_application_initialization.rb in the cache. | |
[2014-07-17T23:53:34+00:00] INFO: Storing updated cookbooks/iis/recipes/mod_aspnet.rb in the cache. | |
[2014-07-17T23:53:34+00:00] INFO: Storing updated cookbooks/iis/recipes/mod_auth_basic.rb in the cache. | |
[2014-07-17T23:53:34+00:00] INFO: Storing updated cookbooks/iis/recipes/mod_auth_windows.rb in the cache. | |
[2014-07-17T23:53:34+00:00] INFO: Storing updated cookbooks/iis/recipes/mod_cgi.rb in the cache. | |
[2014-07-17T23:53:34+00:00] INFO: Storing updated cookbooks/iis/recipes/mod_compress_dynamic.rb in the cache. | |
[2014-07-17T23:53:34+00:00] INFO: Storing updated cookbooks/iis/recipes/mod_compress_static.rb in the cache. | |
[2014-07-17T23:53:34+00:00] INFO: Storing updated cookbooks/iis/recipes/mod_ftp.rb in the cache. | |
[2014-07-17T23:53:34+00:00] INFO: Storing updated cookbooks/iis/recipes/mod_iis6_metabase_compat.rb in the cache. | |
[2014-07-17T23:53:34+00:00] INFO: Storing updated cookbooks/iis/recipes/mod_isapi.rb in the cache. | |
[2014-07-17T23:53:34+00:00] INFO: Storing updated cookbooks/iis/recipes/mod_logging.rb in the cache. | |
[2014-07-17T23:53:34+00:00] INFO: Storing updated cookbooks/iis/recipes/mod_management.rb in the cache. | |
[2014-07-17T23:53:34+00:00] INFO: Storing updated cookbooks/iis/recipes/mod_security.rb in the cache. | |
[2014-07-17T23:53:35+00:00] INFO: Storing updated cookbooks/iis/recipes/mod_tracing.rb in the cache. | |
[2014-07-17T23:53:35+00:00] INFO: Storing updated cookbooks/iis/recipes/remove_default_site.rb in the cache. | |
[2014-07-17T23:53:35+00:00] INFO: Storing updated cookbooks/iis/libraries/helper.rb in the cache. | |
[2014-07-17T23:53:35+00:00] INFO: Storing updated cookbooks/iis/attributes/default.rb in the cache. | |
[2014-07-17T23:53:35+00:00] INFO: Storing updated cookbooks/iis/metadata.json in the cache. | |
[2014-07-17T23:53:35+00:00] INFO: Storing updated cookbooks/iis/README.md in the cache. | |
[2014-07-17T23:53:35+00:00] INFO: Storing updated cookbooks/windows/resources/auto_run.rb in the cache. | |
[2014-07-17T23:53:35+00:00] INFO: Storing updated cookbooks/windows/resources/batch.rb in the cache. | |
[2014-07-17T23:53:35+00:00] INFO: Storing updated cookbooks/windows/resources/feature.rb in the cache. | |
[2014-07-17T23:53:35+00:00] INFO: Storing updated cookbooks/windows/resources/package.rb in the cache. | |
[2014-07-17T23:53:35+00:00] INFO: Storing updated cookbooks/windows/resources/pagefile.rb in the cache. | |
[2014-07-17T23:53:35+00:00] INFO: Storing updated cookbooks/windows/resources/path.rb in the cache. | |
[2014-07-17T23:53:35+00:00] INFO: Storing updated cookbooks/windows/resources/printer.rb in the cache. | |
[2014-07-17T23:53:35+00:00] INFO: Storing updated cookbooks/windows/resources/printer_port.rb in the cache. | |
[2014-07-17T23:53:36+00:00] INFO: Storing updated cookbooks/windows/resources/reboot.rb in the cache. | |
[2014-07-17T23:53:36+00:00] INFO: Storing updated cookbooks/windows/resources/registry.rb in the cache. | |
[2014-07-17T23:53:36+00:00] INFO: Storing updated cookbooks/windows/resources/shortcut.rb in the cache. | |
[2014-07-17T23:53:36+00:00] INFO: Storing updated cookbooks/windows/resources/task.rb in the cache. | |
[2014-07-17T23:53:36+00:00] INFO: Storing updated cookbooks/windows/resources/zipfile.rb in the cache. | |
[2014-07-17T23:53:36+00:00] INFO: Storing updated cookbooks/windows/providers/auto_run.rb in the cache. | |
[2014-07-17T23:53:36+00:00] INFO: Storing updated cookbooks/windows/providers/batch.rb in the cache. | |
[2014-07-17T23:53:36+00:00] INFO: Storing updated cookbooks/windows/providers/feature_dism.rb in the cache. | |
[2014-07-17T23:53:36+00:00] INFO: Storing updated cookbooks/windows/providers/feature_powershell.rb in the cache. | |
[2014-07-17T23:53:36+00:00] INFO: Storing updated cookbooks/windows/providers/feature_servermanagercmd.rb in the cache. | |
[2014-07-17T23:53:36+00:00] INFO: Storing updated cookbooks/windows/providers/package.rb in the cache. | |
[2014-07-17T23:53:36+00:00] INFO: Storing updated cookbooks/windows/providers/pagefile.rb in the cache. | |
[2014-07-17T23:53:36+00:00] INFO: Storing updated cookbooks/windows/providers/path.rb in the cache. | |
[2014-07-17T23:53:36+00:00] INFO: Storing updated cookbooks/windows/providers/printer.rb in the cache. | |
[2014-07-17T23:53:37+00:00] INFO: Storing updated cookbooks/windows/providers/printer_port.rb in the cache. | |
[2014-07-17T23:53:37+00:00] INFO: Storing updated cookbooks/windows/providers/reboot.rb in the cache. | |
[2014-07-17T23:53:37+00:00] INFO: Storing updated cookbooks/windows/providers/registry.rb in the cache. | |
[2014-07-17T23:53:37+00:00] INFO: Storing updated cookbooks/windows/providers/shortcut.rb in the cache. | |
[2014-07-17T23:53:37+00:00] INFO: Storing updated cookbooks/windows/providers/task.rb in the cache. | |
[2014-07-17T23:53:37+00:00] INFO: Storing updated cookbooks/windows/providers/zipfile.rb in the cache. | |
[2014-07-17T23:53:37+00:00] INFO: Storing updated cookbooks/windows/recipes/default.rb in the cache. | |
[2014-07-17T23:53:37+00:00] INFO: Storing updated cookbooks/windows/recipes/reboot_handler.rb in the cache. | |
[2014-07-17T23:53:37+00:00] INFO: Storing updated cookbooks/windows/libraries/feature_base.rb in the cache. | |
[2014-07-17T23:53:37+00:00] INFO: Storing updated cookbooks/windows/libraries/matchers.rb in the cache. | |
[2014-07-17T23:53:37+00:00] INFO: Storing updated cookbooks/windows/libraries/powershell_helper.rb in the cache. | |
[2014-07-17T23:53:37+00:00] INFO: Storing updated cookbooks/windows/libraries/powershell_out.rb in the cache. | |
[2014-07-17T23:53:37+00:00] INFO: Storing updated cookbooks/windows/libraries/registry_helper.rb in the cache. | |
[2014-07-17T23:53:37+00:00] INFO: Storing updated cookbooks/windows/libraries/version.rb in the cache. | |
[2014-07-17T23:53:38+00:00] INFO: Storing updated cookbooks/windows/libraries/windows_architecture_helper.rb in the cache. | |
[2014-07-17T23:53:38+00:00] INFO: Storing updated cookbooks/windows/libraries/windows_helper.rb in the cache. | |
[2014-07-17T23:53:38+00:00] INFO: Storing updated cookbooks/windows/libraries/windows_privileged.rb in the cache. | |
[2014-07-17T23:53:38+00:00] INFO: Storing updated cookbooks/windows/attributes/default.rb in the cache. | |
[2014-07-17T23:53:38+00:00] INFO: Storing updated cookbooks/windows/metadata.json in the cache. | |
[2014-07-17T23:53:38+00:00] INFO: Storing updated cookbooks/windows/README.md in the cache. | |
[2014-07-17T23:53:38+00:00] INFO: Storing updated cookbooks/chef_handler/resources/default.rb in the cache. | |
[2014-07-17T23:53:38+00:00] INFO: Storing updated cookbooks/chef_handler/providers/default.rb in the cache. | |
[2014-07-17T23:53:38+00:00] INFO: Storing updated cookbooks/chef_handler/recipes/default.rb in the cache. | |
[2014-07-17T23:53:38+00:00] INFO: Storing updated cookbooks/chef_handler/recipes/json_file.rb in the cache. | |
[2014-07-17T23:53:38+00:00] INFO: Storing updated cookbooks/chef_handler/libraries/matchers.rb in the cache. | |
[2014-07-17T23:53:38+00:00] INFO: Storing updated cookbooks/chef_handler/attributes/default.rb in the cache. | |
[2014-07-17T23:53:38+00:00] INFO: Storing updated cookbooks/chef_handler/metadata.json in the cache. | |
[2014-07-17T23:53:38+00:00] INFO: Storing updated cookbooks/chef_handler/README.md in the cache. | |
[2014-07-17T23:53:39+00:00] INFO: WindowsPackage light-weight resource already initialized -- overriding! | |
[2014-07-17T23:53:39+00:00] INFO: Processing windows_feature[IIS-WebServerRole] action install (iis::default line 22) | |
[2014-07-17T23:54:47+00:00] INFO: windows_feature[IIS-WebServerRole] installed feature | |
[2014-07-17T23:54:47+00:00] INFO: Processing service[iis] action enable (iis::default line 27) | |
[2014-07-17T23:54:47+00:00] INFO: Processing service[iis] action start (iis::default line 27) | |
[2014-07-17T23:54:47+00:00] INFO: Processing directory[/sandwich] action create (tk-windows::default line 11) | |
[2014-07-17T23:54:47+00:00] INFO: directory[/sandwich] created directory /sandwich | |
[2014-07-17T23:54:47+00:00] INFO: Processing template[C:\inetpub\wwwroot/index.html] action create (tk-windows::default line 15) | |
[2014-07-17T23:54:47+00:00] INFO: template[C:\inetpub\wwwroot/index.html] created file C:\inetpub\wwwroot/index.html | |
[2014-07-17T23:54:47+00:00] INFO: template[C:\inetpub\wwwroot/index.html] updated file contents C:\inetpub\wwwroot/indeChef-11.12.8 ruby-2.1.2 | |
[2014-07-17T23:54:48+00:00] INFO: Chef Run complete in 76.2372 seconds | |
[2014-07-17T23:54:48+00:00] INFO: Running report handlers | |
[2014-07-17T23:54:48+00:00] INFO: Report handlers complete | |
Finished converging <default-windows-2008R2-SP1> (14m11.40s). | |
-----> Kitchen is finished. (19m28.05s) | |
salimafiune@afiunechef:~/github/tk-windows | |
$ kitchen list | |
Instance Driver Provisioner Last Action | |
default-windows-2008R2-SP1 Ec2Windows ChefZero Converged | |
salimafiune@afiunechef:~/github/tk-windows | |
$ curl -L http://54.210.11.45/ | |
<html> | |
<body> | |
<h1>Hello world!</h1> | |
</body> | |
</html>salimafiune@afiunechef:~/github/tk-windows | |
$ |
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
salimafiune@afiuneChef:~/chef/cookbooks/tk-windows | |
$ bundle exec kitchen create | |
-----> Starting Kitchen (v1.2.2.dev) | |
-----> Creating <default-windows2008r2>... Chef-11.12.8 ruby-2.1.2 | |
Bringing machine 'default' up with 'virtualbox' provider... | |
==> default: Importing base box 'windows2008r2'... | |
==> default: Matching MAC address for NAT networking... | |
==> default: Setting the name of the VM: default-windows2008r2_default_1404171302921_63382 | |
Skipping Berkshelf with --no-provision | |
==> default: Clearing any previously set network interfaces... | |
==> default: Preparing network interfaces based on configuration... Chef-11.12.8 ruby-2.1.2 | |
default: Adapter 1: nat | |
==> default: Forwarding ports... | |
default: 3389 => 3389 (adapter 1) | |
default: 5985 => 5985 (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! Chef-11.12.8 ruby-2.1.2 | |
==> default: Checking for guest additions in VM... | |
==> default: Setting hostname... | |
==> default: Machine not provisioning because `--no-provision` is specified. | |
Vagrant instance <default-windows2008r2> created. | |
Finished creating <default-windows2008r2> (1m25.80s). | |
-----> Creating <default-opscode-centos-65>... | |
Bringing machine 'default' up with 'virtualbox' provider... | |
==> default: Importing base box 'opscode-centos-6.5'... Chef-11.12.8 ruby-2.1.2 | |
==> default: Matching MAC address for NAT networking... | |
==> default: Setting the name of the VM: default-opscode-centos-65_default_1404171339704_15237 | |
Skipping Berkshelf with --no-provision | |
==> default: Clearing any previously set network interfaces... | |
==> default: Preparing network interfaces based on configuration... | |
default: Adapter 1: nat | |
==> default: Forwarding ports... | |
default: 22 => 2222 (adapter 1) | |
==> default: Booting VM... | |
==> default: Waiting for machine to boot. This may take a few minutes... default: SSH address: 127.0.0.1:2222 | |
default: SSH username: vagrant | |
default: SSH auth method: private key | |
default: Warning: Connection timeout. Retrying... | |
default: Warning: Remote connection disconnect. Retrying... | |
==> default: Machine booted and ready! | |
==> default: Checking for guest additions in VM... | |
==> default: Setting hostname... | |
==> default: Machine not provisioning because `--no-provision` is specified. | |
Vagrant instance <default-opscode-centos-65> created. | |
Finished creating <default-opscode-centos-65> (0m43.30s). | |
-----> Kitchen is finished. (2m9.70s) | |
salimafiune@afiuneChef:~/chef/cookbooks/tk-windows | |
$ bundle exec kitchen list | |
Instance Driver Provisioner Last Action | |
default-windows2008r2 VagrantWindows ChefSolo Created | |
default-opscode-centos-65 Vagrant ChefSolo Created | |
salimafiune@afiuneChef:~/chef/cookbooks/tk-windows | |
$ bundle exec kitchen exec default "uname -a" | |
-----> Execute command on default-windows2008r2. | |
MINGW32_NT-6.1 VAGRANT-2008R2 1.0.17(0.48/3/2) 2011-04-24 23:39 i686 Msys | |
-----> Execute command on default-opscode-centos-65. | |
Linux default-opscode-centos-65.vagrantup.com 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux | |
salimafiune@afiuneChef:~/chef/cookbooks/tk-windows | |
$ | |
salimafiune@afiuneChef:~/chef/cookbooks/tk-windows | |
$ bundle exec kitchen converge | |
-----> Starting Kitchen (v1.2.2.dev) | |
-----> Converging <default-windows2008r2>... | |
Preparing files for transfer | |
Preparing current project directory as a cookbook | |
Removing non-cookbook files before transfer | |
Transferring files to <default-windows2008r2> | |
[2014-07-01T12:05:28-07:00] WARN: | |
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * | |
SSL validation of HTTPS requests is disabled. HTTPS connections are still | |
encrypted, but chef is not able to detect forged replies or man in the middle | |
attacks. | |
To fix this issue add an entry like this to your configuration file: | |
``` | |
# Verify all HTTPS connections (recommended) | |
ssl_verify_mode :verify_peer | |
# OR, Verify only connections to chef-server | |
verify_api_cert true | |
``` | |
To check your SSL configuration, or troubleshoot errors, you can use the | |
`knife ssl check` command like so: | |
``` | |
knife ssl check -c /tmp/kitchen/solo.rb | |
``` | |
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * | |
[2014-07-01T12:05:29-07:00] INFO: *** Chef 11.12.8 *** | |
[2014-07-01T12:05:29-07:00] INFO: Chef-client pid: 1636 | |
[2014-07-01T12:05:34-07:00] INFO: Setting the run_list to ["recipe[tk-windows::default]"] from CLI options | |
[2014-07-01T12:05:34-07:00] INFO: Run List is [recipe[tk-windows::default]] | |
[2014-07-01T12:05:34-07:00] INFO: Run List expands to [tk-windows::default] | |
[2014-07-01T12:05:34-07:00] INFO: Starting Chef Run for default-windows2008r2 | |
[2014-07-01T12:05:34-07:00] INFO: Running start handlers | |
[2014-07-01T12:05:34-07:00] INFO: Start handlers complete. | |
[2014-07-01T12:05:34-07:00] INFO: Processing directory[/salim] action create (tk-windows::default line 10) | |
[2014-07-01T12:05:34-07:00] INFO: Chef Run complete in 0.03125 seconds | |
[2014-07-01T12:05:34-07:00] INFO: Running report handlers | |
[2014-07-01T12:05:34-07:00] INFO: Report handlers complete | |
Finished converging <default-windows2008r2> (0m9.97s). | |
-----> Converging <default-opscode-centos-65>... | |
Preparing files for transfer | |
Preparing current project directory as a cookbook | |
Removing non-cookbook files before transfer | |
Transferring files to <default-opscode-centos-65> | |
[2014-07-01T19:05:34+00:00] INFO: Forking chef instance to converge... | |
[2014-07-01T19:05:34+00:00] WARN: | |
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * | |
SSL validation of HTTPS requests is disabled. HTTPS connections are still | |
encrypted, but chef is not able to detect forged replies or man in the middle | |
attacks. | |
To fix this issue add an entry like this to your configuration file: | |
``` | |
# Verify all HTTPS connections (recommended) | |
ssl_verify_mode :verify_peer | |
# OR, Verify only connections to chef-server | |
verify_api_cert true | |
``` | |
To check your SSL configuration, or troubleshoot errors, you can use the | |
`knife ssl check` command like so: | |
``` Chef-11.12.8 ruby-2.1.2 | |
knife ssl check -c /tmp/kitchen/solo.rb | |
``` | |
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * | |
Starting Chef Client, version 11.12.8 | |
[2014-07-01T19:05:34+00:00] INFO: *** Chef 11.12.8 *** | |
[2014-07-01T19:05:34+00:00] INFO: Chef-client pid: 2225 | |
[2014-07-01T19:05:36+00:00] INFO: Setting the run_list to ["recipe[tk-windows::default]"] from CLI options | |
[2014-07-01T19:05:36+00:00] INFO: Run List is [recipe[tk-windows::default]] | |
[2014-07-01T19:05:36+00:00] INFO: Run List expands to [tk-windows::default] | |
[2014-07-01T19:05:36+00:00] INFO: Starting Chef Run for default-opscode-centos-65 | |
[2014-07-01T19:05:36+00:00] INFO: Running start handlers | |
[2014-07-01T19:05:36+00:00] INFO: Start handlers complete. | |
Compiling Cookbooks... | |
Converging 1 resources | |
Recipe: tk-windows::default | |
* directory[/salim] action create | |
[2014-07-01T19:05:36+00:00] INFO: Processing directory[/salim] action create (tk-windows::default line 10) | |
(up to date) | |
[2014-07-01T19:05:36+00:00] INFO: Chef Run complete in 0.006793723 seconds | |
Running handlers: | |
[2014-07-01T19:05:36+00:00] INFO: Running report handlers | |
Running handlers complete | |
[2014-07-01T19:05:36+00:00] INFO: Report handlers complete | |
Chef Client finished, 0/1 resources updated in 1.857628315 seconds | |
Finished converging <default-opscode-centos-65> (0m3.06s). | |
-----> Kitchen is finished. (0m13.63s) | |
salimafiune@afiuneChef:~/chef/cookbooks/tk-windows | |
$ | |
salimafiune@afiuneChef:~/chef/cookbooks/tk-windows | |
$ bundle exec kitchen destroy | |
-----> Starting Kitchen (v1.2.2.dev) | |
-----> Destroying <default-windows2008r2>... | |
==> default: Discarding saved state of VM... | |
==> default: Destroying VM and associated drives... | |
Vagrant instance <default-windows2008r2> destroyed. | |
Finished destroying <default-windows2008r2> (0m21.79s). | |
-----> Destroying <default-opscode-centos-65>... | |
==> default: Discarding saved state of VM... | |
==> default: Destroying VM and associated drives... | |
Vagrant instance <default-opscode-centos-65> destroyed. | |
Finished destroying <default-opscode-centos-65> (0m14.78s). | |
-----> Kitchen is finished. (0m40.33s) | |
salimafiune@afiuneChef:~/chef/cookbooks/tk-windows | |
$ bundle exec kitchen list | |
Instance Driver Provisioner Last Action | |
default-windows2008r2 VagrantWindows ChefSolo <Not Created> | |
default-opscode-centos-65 Vagrant ChefSolo <Not Created> | |
salimafiune@afiuneChef:~/chef/cookbooks/tk-windows | |
$ |
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
salimafiune@afiunechef:~/github Chef-11.12.8 ruby-2.1.2 | |
$ git clone https://github.com/afiune/tk-windows.git | |
Cloning into 'tk-windows'... | |
remote: Counting objects: 37, done. | |
remote: Compressing objects: 100% (20/20), done. | |
remote: Total 37 (delta 4), reused 37 (delta 4) | |
Receiving objects: 100% (37/37), 8.24 KiB | 0 bytes/s, done. | |
Resolving deltas: 100% (4/4), done. | |
Checking connectivity... done | |
salimafiune@afiunechef:~/github | |
$ cd tk-windows/ | |
salimafiune@afiunechef:~/github/tk-windows | |
$ bundle install | |
Updating https://github.com/afiune/test-kitchen.git | |
Updating https://github.com/afiune/kitchen-vagrant.git | |
Fetching gem metadata from https://rubygems.org/....... | |
Fetching additional metadata from https://rubygems.org/.. | |
Resolving dependencies... | |
Using addressable 2.3.6 | |
Using builder 3.2.2 | |
Using gyoku 1.1.1 | |
Using mini_portile 0.6.0 | |
Using nokogiri 1.6.2.1 | |
Using akami 1.2.2 | |
Using multipart-post 2.0.0 | |
Using faraday 0.9.0 | |
Using berkshelf-api-client 1.2.0 | |
Using buff-extensions 1.0.0 | |
Using hashie 2.1.2 | |
Using varia_model 0.4.0 | |
Using buff-config 1.0.0 | |
Using buff-ruby_engine 0.1.0 | |
Using buff-shell_out 0.1.1 | |
Using hitimes 1.2.1 | |
Using timers 3.0.1 | |
Using celluloid 0.16.0.pre2 | |
Using nio4r 1.0.0 | |
Using celluloid-io 0.16.0.pre2 | |
Using minitar 0.5.4 | |
Using sawyer 0.5.4 | |
Using octokit 3.2.0 | |
Using retryable 1.3.5 | |
Using buff-ignore 1.1.1 | |
Using erubis 2.7.0 | |
Using json 1.8.1 | |
Using mixlib-log 1.6.0 | |
Using mixlib-authentication 1.3.0 | |
Using net-http-persistent 2.9.4 | |
Using semverse 1.1.0 | |
Using ridley 4.0.0 | |
Using dep-selector-libgecode 1.0.2 | |
Using ffi 1.9.3 | |
Using dep_selector 1.0.3 | |
Using solve 1.2.0 | |
Using thor 0.19.1 | |
Using berkshelf 3.1.3 | |
Using rack 1.5.2 | |
Using chef-zero 2.0.2 | |
Using diff-lcs 1.2.5 | |
Using highline 1.6.21 | |
Using mime-types 1.25.1 | |
Using mixlib-cli 1.5.0 | |
Using mixlib-config 2.1.0 | |
Using mixlib-shellout 1.4.0 | |
Using net-ssh 2.9.1 | |
Using net-ssh-gateway 1.2.0 | |
Using net-ssh-multi 1.2.0 | |
Using ipaddress 0.8.0 | |
Using systemu 2.5.2 | |
Using yajl-ruby 1.2.1 | |
Using ohai 7.0.4 | |
Using coderay 1.1.0 | |
Using method_source 0.8.2 | |
Using slop 3.5.0 | |
Using pry 0.10.0 | |
Using rdoc 4.1.1 | |
Using rest-client 1.6.8 | |
Using chef 11.12.8 | |
Using gssapi 1.0.3 | |
Using httpclient 2.4.0 | |
Using httpi 0.9.7 | |
Using net-scp 1.2.1 | |
Using safe_yaml 1.0.3 | |
Using little-plugger 1.1.3 | |
Using multi_json 1.10.1 | |
Using logging 1.8.2 | |
Using rubyntlm 0.1.1 | |
Using nori 1.1.5 | |
Using wasabi 1.0.0 | |
Using savon 0.9.5 | |
Using uuidtools 2.1.4 | |
Using winrm 1.1.3 | |
Using test-kitchen 1.3.0 from https://github.com/afiune/test-kitchen.git (at WinRM) | |
Using kitchen-vagrant 0.16.0 from https://github.com/afiune/kitchen-vagrant.git (at WinRM) | |
Using bundler 1.6.2 | |
Your bundle is complete! | |
Use `bundle show [gemname]` to see where a bundled gem is installed. | |
salimafiune@afiunechef:~/github/tk-windows | |
$ bundle exec kitchen test | |
-----> Starting Kitchen (v1.3.0) | |
-----> Cleaning up any prior instances of <default-windows2012r2-cloud> | |
-----> Destroying <default-windows2012r2-cloud>... | |
Finished destroying <default-windows2012r2-cloud> (0m0.00s). | |
-----> Testing <default-windows2012r2-cloud> | |
-----> Creating <default-windows2012r2-cloud>... | |
Bringing machine 'default' up with 'virtualbox' provider... | |
==> default: Importing base box 'windows2012r2_cloud'... | |
==> default: Matching MAC address for NAT networking... | |
==> default: Setting the name of the VM: default-windows2012r2-cloud_default_1404932202718_91613 | |
Skipping Berkshelf with --no-provision | |
==> default: Clearing any previously set network interfaces... | |
==> default: Preparing network interfaces based on configuration... | |
default: Adapter 1: nat | |
==> default: Forwarding ports... | |
default: 3389 => 3389 (adapter 1) | |
default: 5985 => 5985 (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: Setting hostname... | |
==> default: Machine not provisioning because `--no-provision` is specified. | |
Vagrant instance <default-windows2012r2-cloud> created. | |
Finished creating <default-windows2012r2-cloud> (1m35.21s). | |
-----> Converging <default-windows2012r2-cloud>... | |
Preparing files for transfer | |
Resolving cookbook dependencies with Berkshelf 3.1.3... | |
Removing non-cookbook files before transfer | |
Transferring files to <default-windows2012r2-cloud> | |
[2014-07-09T11:58:27-07:00] WARN: | |
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * | |
SSL validation of HTTPS requests is disabled. HTTPS connections are still | |
encrypted, but chef is not able to detect forged replies or man in the middle | |
attacks. | |
To fix this issue add an entry like this to your configuration file: | |
``` | |
# Verify all HTTPS connections (recommended) | |
ssl_verify_mode :verify_peer | |
# OR, Verify only connections to chef-server | |
verify_api_cert true | |
``` | |
To check your SSL configuration, or troubleshoot errors, you can use the | |
`knife ssl check` command like so: | |
``` | |
knife ssl check -c /tmp/kitchen/solo.rb | |
``` | |
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * | |
[2014-07-09T11:58:29-07:00] INFO: *** Chef 11.12.8 *** | |
[2014-07-09T11:58:29-07:00] INFO: Chef-client pid: 2640 | |
[2014-07-09T11:58:36-07:00] INFO: Setting the run_list to ["recipe[tk-windows::default]"] from CLI options | |
[2014-07-09T11:58:36-07:00] INFO: Run List is [recipe[tk-windows::default]] | |
[2014-07-09T11:58:36-07:00] INFO: Run List expands to [tk-windows::default] | |
[2014-07-09T11:58:36-07:00] INFO: Starting Chef Run for default-windows2012r2-cloud | |
[2014-07-09T11:58:36-07:00] INFO: Running start handlers | |
[2014-07-09T11:58:36-07:00] INFO: Start handlers complete. | |
[2014-07-09T11:58:36-07:00] INFO: WindowsPackage light-weight resource already initialized -- overriding! | |
[2014-07-09T11:58:36-07:00] INFO: Processing windows_feature[IIS-WebServerRole] action install (iis::default line 22) | |
[2014-07-09T11:59:00-07:00] INFO: windows_feature[IIS-WebServerRole] installed feature | |
[2014-07-09T11:59:00-07:00] INFO: Processing service[iis] action enable (iis::default line 27) | |
[2014-07-09T11:59:00-07:00] INFO: Processing service[iis] action start (iis::default line 27) | |
[2014-07-09T11:59:00-07:00] INFO: Processing directory[/sandwich] action create (tk-windows::default line 11) | |
[2014-07-09T11:59:00-07:00] INFO: directory[/sandwich] created directory /sandwich | |
[2014-07-09T11:59:00-07:00] INFO: Processing template[C:\inetpub\wwwroot/index.html] action create (tk-windows::default line 15) | |
[2014-07-09T11:59:00-07:00] INFO: template[C:\inetpub\wwwroot/index.html] created file C:\inetpub\wwwroot/index.html | |
[2014-07-09T11:59:00-07:00] INFO: template[C:\inetpub\wwwroot/index.html] updated file contents C:\inetpub\wwwroot/index.html | |
[2014-07-09T11:59:00-07:00] INFO: Chef Run complete in 24.068014 seconds | |
[2014-07-09T11:59:00-07:00] INFO: Running report handlers | |
[2014-07-09T11:59:00-07:00] INFO: Report handlers complete | |
Finished converging <default-windows2012r2-cloud> (1m50.78s). | |
-----> Setting up <default-windows2012r2-cloud>... | |
Successfully installed thor-0.19.0 | |
Successfully installed busser-0.6.2 | |
2 gems installed | |
Plugin serverspec installed (version 0.2.6) | |
-----> Running postinstall for serverspec plugin | |
Finished setting up <default-windows2012r2-cloud> (0m43.97s). | |
-----> Verifying <default-windows2012r2-cloud>... | |
Suite path directory /tmp/busser/suites does not exist, skipping. | |
Uploading /tmp/busser/suites/serverspec/localhost/default_spec.rb (mode=0644) | |
Uploading /tmp/busser/suites/serverspec/spec_helper.rb (mode=0644) | |
-----> Running serverspec test suite | |
File "/inetpub/wwwroot" | |
should be directory | |
File "/inetpub/wwwroot/index.html" | |
should be file | |
should contain "Hello world" | |
Service "W3SVC" | |
should be enabled | |
should be running | |
Port "80" | |
should be listening | |
File "/sandwich" | |
should be directory | |
Finished in 3.13 seconds | |
7 examples, 0 failures | |
C:/opscode/chef/embedded/bin/ruby.exe -IC:/tmp/busser/suites/serverspec -S rspec C:/tmp/busser/suites/serverspec/localhost/default_spec.rb --color --format documentation | |
Finished verifying <default-windows2012r2-cloud> (0m6.49s). | |
-----> Destroying <default-windows2012r2-cloud>... | |
==> default: Forcing shutdown of VM... | |
==> default: Destroying VM and associated drives... | |
Vagrant instance <default-windows2012r2-cloud> destroyed. | |
Finished destroying <default-windows2012r2-cloud> (0m4.94s). | |
Finished testing <default-windows2012r2-cloud> (4m21.41s). | |
-----> Kitchen is finished. (4m21.91s) | |
salimafiune@afiunechef:~/github/tk-windows | |
$ |
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
salimafiune@afiuneChef:~/chef/cookbooks/tk-windows | |
$ bundle exec kitchen create | |
-----> Starting Kitchen (v1.2.2.dev) | |
-----> Creating <default-windows2008r2>... Chef-11.12.8 ruby-2.1.2 | |
Bringing machine 'default' up with 'virtualbox' provider... | |
==> default: Importing base box 'windows2008r2'... | |
==> default: Matching MAC address for NAT networking... | |
==> default: Setting the name of the VM: default-windows2008r2_default_1404171302921_63382 | |
Skipping Berkshelf with --no-provision | |
==> default: Clearing any previously set network interfaces... | |
==> default: Preparing network interfaces based on configuration... Chef-11.12.8 ruby-2.1.2 | |
default: Adapter 1: nat | |
==> default: Forwarding ports... | |
default: 3389 => 3389 (adapter 1) | |
default: 5985 => 5985 (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! Chef-11.12.8 ruby-2.1.2 | |
==> default: Checking for guest additions in VM... | |
==> default: Setting hostname... | |
==> default: Machine not provisioning because `--no-provision` is specified. | |
Vagrant instance <default-windows2008r2> created. | |
Finished creating <default-windows2008r2> (1m25.80s). | |
-----> Creating <default-opscode-centos-65>... | |
Bringing machine 'default' up with 'virtualbox' provider... | |
==> default: Importing base box 'opscode-centos-6.5'... Chef-11.12.8 ruby-2.1.2 | |
==> default: Matching MAC address for NAT networking... | |
==> default: Setting the name of the VM: default-opscode-centos-65_default_1404171339704_15237 | |
Skipping Berkshelf with --no-provision | |
==> default: Clearing any previously set network interfaces... | |
==> default: Preparing network interfaces based on configuration... | |
default: Adapter 1: nat | |
==> default: Forwarding ports... | |
default: 22 => 2222 (adapter 1) | |
==> default: Booting VM... | |
==> default: Waiting for machine to boot. This may take a few minutes... default: SSH address: 127.0.0.1:2222 | |
default: SSH username: vagrant | |
default: SSH auth method: private key | |
default: Warning: Connection timeout. Retrying... | |
default: Warning: Remote connection disconnect. Retrying... | |
==> default: Machine booted and ready! | |
==> default: Checking for guest additions in VM... | |
==> default: Setting hostname... | |
==> default: Machine not provisioning because `--no-provision` is specified. | |
Vagrant instance <default-opscode-centos-65> created. | |
Finished creating <default-opscode-centos-65> (0m43.30s). | |
-----> Kitchen is finished. (2m9.70s) | |
salimafiune@afiuneChef:~/chef/cookbooks/tk-windows | |
$ bundle exec kitchen list | |
Instance Driver Provisioner Last Action | |
default-windows2008r2 VagrantWindows ChefSolo Created | |
default-opscode-centos-65 Vagrant ChefSolo Created | |
salimafiune@afiuneChef:~/chef/cookbooks/tk-windows | |
$ bundle exec kitchen exec default "uname -a" | |
-----> Execute command on default-windows2008r2. | |
MINGW32_NT-6.1 VAGRANT-2008R2 1.0.17(0.48/3/2) 2011-04-24 23:39 i686 Msys | |
-----> Execute command on default-opscode-centos-65. | |
Linux default-opscode-centos-65.vagrantup.com 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux | |
salimafiune@afiuneChef:~/chef/cookbooks/tk-windows | |
$ | |
salimafiune@afiuneChef:~/chef/cookbooks/tk-windows | |
$ bundle exec kitchen converge | |
-----> Starting Kitchen (v1.2.2.dev) | |
-----> Converging <default-windows2008r2>... | |
Preparing files for transfer | |
Preparing current project directory as a cookbook | |
Removing non-cookbook files before transfer | |
Transferring files to <default-windows2008r2> | |
[2014-07-01T12:05:28-07:00] WARN: | |
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * | |
SSL validation of HTTPS requests is disabled. HTTPS connections are still | |
encrypted, but chef is not able to detect forged replies or man in the middle | |
attacks. | |
To fix this issue add an entry like this to your configuration file: | |
``` | |
# Verify all HTTPS connections (recommended) | |
ssl_verify_mode :verify_peer | |
# OR, Verify only connections to chef-server | |
verify_api_cert true | |
``` | |
To check your SSL configuration, or troubleshoot errors, you can use the | |
`knife ssl check` command like so: | |
``` | |
knife ssl check -c /tmp/kitchen/solo.rb | |
``` | |
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * | |
[2014-07-01T12:05:29-07:00] INFO: *** Chef 11.12.8 *** | |
[2014-07-01T12:05:29-07:00] INFO: Chef-client pid: 1636 | |
[2014-07-01T12:05:34-07:00] INFO: Setting the run_list to ["recipe[tk-windows::default]"] from CLI options | |
[2014-07-01T12:05:34-07:00] INFO: Run List is [recipe[tk-windows::default]] | |
[2014-07-01T12:05:34-07:00] INFO: Run List expands to [tk-windows::default] | |
[2014-07-01T12:05:34-07:00] INFO: Starting Chef Run for default-windows2008r2 | |
[2014-07-01T12:05:34-07:00] INFO: Running start handlers | |
[2014-07-01T12:05:34-07:00] INFO: Start handlers complete. | |
[2014-07-01T12:05:34-07:00] INFO: Processing directory[/salim] action create (tk-windows::default line 10) | |
[2014-07-01T12:05:34-07:00] INFO: Chef Run complete in 0.03125 seconds | |
[2014-07-01T12:05:34-07:00] INFO: Running report handlers | |
[2014-07-01T12:05:34-07:00] INFO: Report handlers complete | |
Finished converging <default-windows2008r2> (0m9.97s). | |
-----> Converging <default-opscode-centos-65>... | |
Preparing files for transfer | |
Preparing current project directory as a cookbook | |
Removing non-cookbook files before transfer | |
Transferring files to <default-opscode-centos-65> | |
[2014-07-01T19:05:34+00:00] INFO: Forking chef instance to converge... | |
[2014-07-01T19:05:34+00:00] WARN: | |
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * | |
SSL validation of HTTPS requests is disabled. HTTPS connections are still | |
encrypted, but chef is not able to detect forged replies or man in the middle | |
attacks. | |
To fix this issue add an entry like this to your configuration file: | |
``` | |
# Verify all HTTPS connections (recommended) | |
ssl_verify_mode :verify_peer | |
# OR, Verify only connections to chef-server | |
verify_api_cert true | |
``` | |
To check your SSL configuration, or troubleshoot errors, you can use the | |
`knife ssl check` command like so: | |
``` Chef-11.12.8 ruby-2.1.2 | |
knife ssl check -c /tmp/kitchen/solo.rb | |
``` | |
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * | |
Starting Chef Client, version 11.12.8 | |
[2014-07-01T19:05:34+00:00] INFO: *** Chef 11.12.8 *** | |
[2014-07-01T19:05:34+00:00] INFO: Chef-client pid: 2225 | |
[2014-07-01T19:05:36+00:00] INFO: Setting the run_list to ["recipe[tk-windows::default]"] from CLI options | |
[2014-07-01T19:05:36+00:00] INFO: Run List is [recipe[tk-windows::default]] | |
[2014-07-01T19:05:36+00:00] INFO: Run List expands to [tk-windows::default] | |
[2014-07-01T19:05:36+00:00] INFO: Starting Chef Run for default-opscode-centos-65 | |
[2014-07-01T19:05:36+00:00] INFO: Running start handlers | |
[2014-07-01T19:05:36+00:00] INFO: Start handlers complete. | |
Compiling Cookbooks... | |
Converging 1 resources | |
Recipe: tk-windows::default | |
* directory[/salim] action create | |
[2014-07-01T19:05:36+00:00] INFO: Processing directory[/salim] action create (tk-windows::default line 10) | |
(up to date) | |
[2014-07-01T19:05:36+00:00] INFO: Chef Run complete in 0.006793723 seconds | |
Running handlers: | |
[2014-07-01T19:05:36+00:00] INFO: Running report handlers | |
Running handlers complete | |
[2014-07-01T19:05:36+00:00] INFO: Report handlers complete | |
Chef Client finished, 0/1 resources updated in 1.857628315 seconds | |
Finished converging <default-opscode-centos-65> (0m3.06s). | |
-----> Kitchen is finished. (0m13.63s) | |
salimafiune@afiuneChef:~/chef/cookbooks/tk-windows | |
$ | |
salimafiune@afiuneChef:~/chef/cookbooks/tk-windows | |
$ bundle exec kitchen destroy | |
-----> Starting Kitchen (v1.2.2.dev) | |
-----> Destroying <default-windows2008r2>... | |
==> default: Discarding saved state of VM... | |
==> default: Destroying VM and associated drives... | |
Vagrant instance <default-windows2008r2> destroyed. | |
Finished destroying <default-windows2008r2> (0m21.79s). | |
-----> Destroying <default-opscode-centos-65>... | |
==> default: Discarding saved state of VM... | |
==> default: Destroying VM and associated drives... | |
Vagrant instance <default-opscode-centos-65> destroyed. | |
Finished destroying <default-opscode-centos-65> (0m14.78s). | |
-----> Kitchen is finished. (0m40.33s) | |
salimafiune@afiuneChef:~/chef/cookbooks/tk-windows | |
$ bundle exec kitchen list | |
Instance Driver Provisioner Last Action | |
default-windows2008r2 VagrantWindows ChefSolo <Not Created> | |
default-opscode-centos-65 Vagrant ChefSolo <Not Created> | |
salimafiune@afiuneChef:~/chef/cookbooks/tk-windows | |
$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can I use testkitchen for converging on Windows 8.1.