Skip to content

Instantly share code, notes, and snippets.

@afiune
Created August 8, 2014 17:42
Show Gist options
  • Save afiune/486430a0e60e0544563f to your computer and use it in GitHub Desktop.
Save afiune/486430a0e60e0544563f to your computer and use it in GitHub Desktop.
[tk-multiplatform] - Test Transport Abstraction
salimafiune@afiuneChef:~/github/tk-multiplatform
$ bundle exec kitchen list
Instance Driver Provisioner Transport Last Action
default-windows-2008R2 Ec2 ChefZero winrm <Not Created>
default-ubuntu-1304 Ec2 ChefSolo ssh <Not Created>
default-windows-2012R2 Vagrant ChefSolo winrm <Not Created>
default-centos-65 Vagrant ChefZero ssh <Not Created>
salimafiune@afiuneChef:~/github/tk-multiplatform
$ bundle exec kitchen converge
-----> Starting Kitchen (v1.3.0)
-----> Creating <default-windows-2008R2>...
EC2 instance <i-cc36f8e6> created.
............. (Server Ready)
Waiting for ec2-54-210-137-172.compute-1.amazonaws.com:5985...
Waiting for ec2-54-210-137-172.compute-1.amazonaws.com:5985...
Waiting for ec2-54-210-137-172.compute-1.amazonaws.com:5985...
Waiting for ec2-54-210-137-172.compute-1.amazonaws.com:5985...
Waiting for ec2-54-210-137-172.compute-1.amazonaws.com:5985...
Waiting for ec2-54-210-137-172.compute-1.amazonaws.com:5985...
Waiting for ec2-54-210-137-172.compute-1.amazonaws.com:5985...
Waiting for ec2-54-210-137-172.compute-1.amazonaws.com:5985...
Waiting for ec2-54-210-137-172.compute-1.amazonaws.com:5985...
Waiting for ec2-54-210-137-172.compute-1.amazonaws.com:5985...
Waiting for ec2-54-210-137-172.compute-1.amazonaws.com:5985...
Waiting for ec2-54-210-137-172.compute-1.amazonaws.com:5985...
Waiting for ec2-54-210-137-172.compute-1.amazonaws.com:5985...
Waiting for ec2-54-210-137-172.compute-1.amazonaws.com:5985...
Waiting for ec2-54-210-137-172.compute-1.amazonaws.com:5985...
Waiting for ec2-54-210-137-172.compute-1.amazonaws.com:5985...
Waiting for ec2-54-210-137-172.compute-1.amazonaws.com:5985...
Waiting for ec2-54-210-137-172.compute-1.amazonaws.com:5985...
Waiting for ec2-54-210-137-172.compute-1.amazonaws.com:5985...
Waiting for ec2-54-210-137-172.compute-1.amazonaws.com:5985...
Waiting for ec2-54-210-137-172.compute-1.amazonaws.com:5985...
Waiting for ec2-54-210-137-172.compute-1.amazonaws.com:5985...
[Server] Reachable...
(Transport Ready)
Finished creating <default-windows-2008R2> (5m41.93s).
-----> Converging <default-windows-2008R2>...
Preparing files for transfer
Preparing dna.json
Resolving cookbook dependencies with Berkshelf 3.1.4...
Removing non-cookbook files before transfer
Preparing validation.pem
Preparing client.rb
-----> Installing Chef Omnibus (true)
[MSI] [###################################################################################################################################]Completed!
Transferring files to <default-windows-2008R2>
Concurrent threads set to :max_threads => 20
[2014-08-08T16:09:12+00:00] INFO: Starting chef-zero on host localhost, port 8889 with repository at repository at C:/tmp/kitchen
One version per cookbook
[2014-08-08T16:09:25+00:00] INFO: *** Chef 11.14.2 ***
[2014-08-08T16:09:25+00:00] INFO: Chef-client pid: 2636
[2014-08-08T16:09:56+00:00] INFO: Client key /tmp/kitchen/client.pem is not present - registering
[2014-08-08T16:09:57+00:00] INFO: HTTP Request Returned 404 Not Found : Object not found: http://localhost:8889/nodes/default-windows-2008R2
[2014-08-08T16:09:57+00:00] INFO: Setting the run_list to ["recipe[tk-multiplatform::default]"] from CLI options
[2014-08-08T16:09:57+00:00] INFO: Run List is [recipe[tk-multiplatform::default]]
[2014-08-08T16:09:57+00:00] INFO: Run List expands to [tk-multiplatform::default]
[2014-08-08T16:09:57+00:00] INFO: Starting Chef Run for default-windows-2008R2
[2014-08-08T16:09:57+00:00] INFO: Running start handlers
[2014-08-08T16:09:57+00:00] INFO: Start handlers complete.
[2014-08-08T16:09:57+00:00] INFO: HTTP Request Returned 404 Not Found : Object not found: /reports/nodes/default-windows-2008R2/runs
[2014-08-08T16:10:03+00:00] INFO: Loading cookbooks [tk-multiplatform@0.1.0, apache2@1.11.0, iptables@0.13.2, logrotate@0.0.0, pacman@1.1.1, freebsd@0.1.9]
[2014-08-08T16:10:04+00:00] INFO: Storing updated cookbooks/tk-multiplatform/recipes/default.rb in the cache.
[2014-08-08T16:10:04+00:00] INFO: Storing updated cookbooks/tk-multiplatform/metadata.json in the cache.
[2014-08-08T16:10:04+00:00] INFO: Storing updated cookbooks/tk-multiplatform/README.md in the cache.
[2014-08-08T16:10:04+00:00] INFO: Storing updated cookbooks/apache2/recipes/default.rb in the cache.
[2014-08-08T16:10:04+00:00] INFO: Storing updated cookbooks/apache2/recipes/god_monitor.rb in the cache.
[2014-08-08T16:10:06+00:00] INFO: Storing updated cookbooks/apache2/recipes/logrotate.rb in the cache.
[2014-08-08T16:10:06+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_actions.rb in the cache.
[2014-08-08T16:10:06+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_alias.rb in the cache.
[2014-08-08T16:10:06+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_apreq2.rb in the cache.
[2014-08-08T16:10:06+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_authnz_ldap.rb in the cache.
[2014-08-08T16:10:06+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_authn_file.rb in the cache.
[2014-08-08T16:10:06+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_authz_default.rb in the cache.
[2014-08-08T16:10:06+00:00] INFO: Storing updated cookbooks/apache2/recipes/iptables.rb in the cache.
[2014-08-08T16:10:06+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_authz_groupfile.rb in the cache.
[2014-08-08T16:10:07+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_authz_host.rb in the cache.
[2014-08-08T16:10:08+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_authz_user.rb in the cache.
[2014-08-08T16:10:08+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_auth_basic.rb in the cache.
[2014-08-08T16:10:08+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_auth_cas.rb in the cache.
[2014-08-08T16:10:08+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_auth_openid.rb in the cache.
[2014-08-08T16:10:08+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_auth_digest.rb in the cache.
[2014-08-08T16:10:08+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_dav_fs.rb in the cache.
[2014-08-08T16:10:09+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_dav.rb in the cache.
[2014-08-08T16:10:09+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_cloudflare.rb in the cache.
[2014-08-08T16:10:09+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_autoindex.rb in the cache.
[2014-08-08T16:10:09+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_cgi.rb in the cache.
[2014-08-08T16:10:09+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_dav_svn.rb in the cache.
[2014-08-08T16:10:10+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_deflate.rb in the cache.
[2014-08-08T16:10:10+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_dir.rb in the cache.
[2014-08-08T16:10:10+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_env.rb in the cache.
[2014-08-08T16:10:10+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_fcgid.rb in the cache.
[2014-08-08T16:10:10+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_expires.rb in the cache.
[2014-08-08T16:10:10+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_fastcgi.rb in the cache.
[2014-08-08T16:10:12+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_jk.rb in the cache.
[2014-08-08T16:10:12+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_filter.rb in the cache.
[2014-08-08T16:10:12+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_ldap.rb in the cache.
[2014-08-08T16:10:12+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_logio.rb in the cache.
[2014-08-08T16:10:12+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_info.rb in the cache.
[2014-08-08T16:10:12+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_headers.rb in the cache.
[2014-08-08T16:10:12+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_include.rb in the cache.
[2014-08-08T16:10:13+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_log_config.rb in the cache.
[2014-08-08T16:10:13+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_mime.rb in the cache.
[2014-08-08T16:10:13+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_negotiation.rb in the cache.
[2014-08-08T16:10:13+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_perl.rb in the cache.
[2014-08-08T16:10:13+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_php5.rb in the cache.
[2014-08-08T16:10:14+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_pagespeed.rb in the cache.
[2014-08-08T16:10:14+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_proxy_ajp.rb in the cache.
[2014-08-08T16:10:14+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_proxy_balancer.rb in the cache.
[2014-08-08T16:10:14+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_proxy_connect.rb in the cache.
[2014-08-08T16:10:14+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_proxy.rb in the cache.
[2014-08-08T16:10:16+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_python.rb in the cache.
[2014-08-08T16:10:16+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_rewrite.rb in the cache.
[2014-08-08T16:10:16+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_setenvif.rb in the cache.
[2014-08-08T16:10:16+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_ssl.rb in the cache.
[2014-08-08T16:10:16+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_status.rb in the cache.
[2014-08-08T16:10:16+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_proxy_http.rb in the cache.
[2014-08-08T16:10:16+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_userdir.rb in the cache.
[2014-08-08T16:10:16+00:00] INFO: Storing updated cookbooks/apache2/definitions/apache_conf.rb in the cache.
[2014-08-08T16:10:16+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_wsgi.rb in the cache.
[2014-08-08T16:10:17+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_xsendfile.rb in the cache.
[2014-08-08T16:10:17+00:00] INFO: Storing updated cookbooks/apache2/definitions/apache_module.rb in the cache.
[2014-08-08T16:10:17+00:00] INFO: Storing updated cookbooks/apache2/definitions/apache_site.rb in the cache.
[2014-08-08T16:10:18+00:00] INFO: Storing updated cookbooks/apache2/definitions/web_app.rb in the cache.
[2014-08-08T16:10:18+00:00] INFO: Storing updated cookbooks/apache2/attributes/mod_auth_openid.rb in the cache.
[2014-08-08T16:10:18+00:00] INFO: Storing updated cookbooks/apache2/attributes/mod_pagespeed.rb in the cache.
[2014-08-08T16:10:18+00:00] INFO: Storing updated cookbooks/apache2/attributes/mod_ssl.rb in the cache.
[2014-08-08T16:10:18+00:00] INFO: Storing updated cookbooks/apache2/attributes/default.rb in the cache.
[2014-08-08T16:10:19+00:00] INFO: Storing updated cookbooks/apache2/attributes/mod_auth_cas.rb in the cache.
[2014-08-08T16:10:19+00:00] INFO: Storing updated cookbooks/apache2/attributes/mod_fastcgi.rb in the cache.
[2014-08-08T16:10:19+00:00] INFO: Storing updated cookbooks/apache2/metadata.json in the cache.
[2014-08-08T16:10:19+00:00] INFO: Storing updated cookbooks/iptables/definitions/iptables_rule.rb in the cache.
[2014-08-08T16:10:19+00:00] INFO: Storing updated cookbooks/iptables/metadata.json in the cache.
[2014-08-08T16:10:19+00:00] INFO: Storing updated cookbooks/apache2/README.md in the cache.
[2014-08-08T16:10:20+00:00] INFO: Storing updated cookbooks/iptables/recipes/default.rb in the cache.
[2014-08-08T16:10:20+00:00] INFO: Storing updated cookbooks/iptables/README.md in the cache.
[2014-08-08T16:10:20+00:00] INFO: Storing updated cookbooks/iptables/recipes/disabled.rb in the cache.
[2014-08-08T16:10:20+00:00] INFO: Storing updated cookbooks/logrotate/recipes/global.rb in the cache.
[2014-08-08T16:10:20+00:00] INFO: Storing updated cookbooks/logrotate/definitions/logrotate_app.rb in the cache.
[2014-08-08T16:10:20+00:00] INFO: Storing updated cookbooks/logrotate/attributes/default.rb in the cache.
[2014-08-08T16:10:20+00:00] INFO: Storing updated cookbooks/logrotate/recipes/default.rb in the cache.
[2014-08-08T16:10:20+00:00] INFO: Storing updated cookbooks/logrotate/README.md in the cache.
[2014-08-08T16:10:21+00:00] INFO: Storing updated cookbooks/logrotate/libraries/logrotate_config.rb in the cache.
[2014-08-08T16:10:21+00:00] INFO: Storing updated cookbooks/pacman/providers/group.rb in the cache.
[2014-08-08T16:10:21+00:00] INFO: Storing updated cookbooks/pacman/resources/aur.rb in the cache.
[2014-08-08T16:10:21+00:00] INFO: Storing updated cookbooks/pacman/resources/group.rb in the cache.
[2014-08-08T16:10:21+00:00] INFO: Storing updated cookbooks/pacman/providers/aur.rb in the cache.
[2014-08-08T16:10:22+00:00] INFO: Storing updated cookbooks/pacman/README.md in the cache.
[2014-08-08T16:10:22+00:00] INFO: Storing updated cookbooks/freebsd/providers/port_options.rb in the cache.
[2014-08-08T16:10:22+00:00] INFO: Storing updated cookbooks/freebsd/resources/port_options.rb in the cache.
[2014-08-08T16:10:22+00:00] INFO: Storing updated cookbooks/pacman/recipes/default.rb in the cache.
[2014-08-08T16:10:22+00:00] INFO: Storing updated cookbooks/pacman/metadata.json in the cache.
[2014-08-08T16:10:22+00:00] INFO: Storing updated cookbooks/freebsd/recipes/default.rb in the cache.
[2014-08-08T16:10:22+00:00] INFO: Storing updated cookbooks/freebsd/recipes/portsnap.rb in the cache.
[2014-08-08T16:10:22+00:00] INFO: Storing updated cookbooks/freebsd/libraries/package_provider.rb in the cache.
[2014-08-08T16:10:22+00:00] INFO: Storing updated cookbooks/freebsd/metadata.json in the cache.
[2014-08-08T16:10:22+00:00] INFO: Storing updated cookbooks/freebsd/README.md in the cache.
[2014-08-08T16:10:23+00:00] INFO: Processing directory[/sandwich] action create (tk-multiplatform::default line 10)
[2014-08-08T16:10:23+00:00] INFO: directory[/sandwich] created directory /sandwich
[2014-08-08T16:10:23+00:00] INFO: Processing template[/sandwich/bacon.html] action create (tk-multiplatform::default line 14)
[2014-08-08T16:10:23+00:00] INFO: template[/sandwich/bacon.html] created file /sandwich/bacon.html
[2014-08-08T16:10:23+00:00] INFO: template[/sandwich/bacon.html] updated file contents /sandwich/bacon.html
[2014-08-08T16:10:40+00:00] INFO: Chef Run complete in 42.4164 seconds
[2014-08-08T16:10:40+00:00] INFO: Running report handlers
[2014-08-08T16:10:40+00:00] INFO: Report handlers complete
Finished converging <default-windows-2008R2> (17m19.22s).
-----> Creating <default-ubuntu-1304>...
EC2 instance <i-92448ab8> created.
..................... (Server Ready)
Waiting for ec2-107-23-67-9.compute-1.amazonaws.com:22...
Waiting for ec2-107-23-67-9.compute-1.amazonaws.com:22...
Waiting for ec2-107-23-67-9.compute-1.amazonaws.com:22...
Waiting for ec2-107-23-67-9.compute-1.amazonaws.com:22...
(Transport Ready)
Finished creating <default-ubuntu-1304> (0m56.78s).
-----> Converging <default-ubuntu-1304>...
Preparing files for transfer
Preparing dna.json
Resolving cookbook dependencies with Berkshelf 3.1.4...
Removing non-cookbook files before transfer
Preparing solo.rb
-----> Installing Chef Omnibus (install only if missing)
downloading https://www.getchef.com/chef/install.sh
to file /tmp/install.sh
trying wget...
Downloading Chef for ubuntu...
downloading https://www.getchef.com/chef/metadata?v=&prerelease=false&nightlies=false&p=ubuntu&pv=13.04&m=x86_64
to file /tmp/install.sh.1126/metadata.txt
trying wget...
url https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/13.04/x86_64/chef_11.14.2-1_amd64.deb
md5 e6a41d4a2be5ca38f3abacfb3fbd97cb
sha256 dcf09ee1c600ed0e48ed4d5fa1455582153889d0640bf0b45f572d19b4bb9a9f
downloaded metadata file looks valid...
downloading https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/13.04/x86_64/chef_11.14.2-1_amd64.deb
to file /tmp/install.sh.1126/chef_11.14.2-1_amd64.deb
trying wget...
Comparing checksum with sha256sum...
Installing Chef
installing with dpkg...
Selecting previously unselected package chef.
(Reading database ... 52223 files and directories currently installed.)
Unpacking chef (from .../chef_11.14.2-1_amd64.deb) ...
Setting up chef (11.14.2-1) ...
Thank you for installing Chef!
Transferring files to <default-ubuntu-1304>
[2014-08-08T16:13:32+00:00] INFO: Forking chef instance to converge...
[2014-08-08T16:13:32+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/solo.rb
```
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Starting Chef Client, version 11.14.2
[2014-08-08T16:13:32+00:00] INFO: *** Chef 11.14.2 ***
[2014-08-08T16:13:32+00:00] INFO: Chef-client pid: 1251
[2014-08-08T16:13:37+00:00] INFO: Setting the run_list to ["recipe[tk-multiplatform::default]"] from CLI options
[2014-08-08T16:13:37+00:00] INFO: Run List is [recipe[tk-multiplatform::default]]
[2014-08-08T16:13:37+00:00] INFO: Run List expands to [tk-multiplatform::default]
[2014-08-08T16:13:37+00:00] INFO: Starting Chef Run for default-ubuntu-1304
[2014-08-08T16:13:37+00:00] INFO: Running start handlers
[2014-08-08T16:13:37+00:00] INFO: Start handlers complete.
Compiling Cookbooks...
Converging 2 resources
Recipe: tk-multiplatform::default
* directory[/sandwich] action create[2014-08-08T16:13:37+00:00] INFO: Processing directory[/sandwich] action create (tk-multiplatform::default line 10)
[2014-08-08T16:13:37+00:00] INFO: directory[/sandwich] created directory /sandwich
- create new directory /sandwich
* template[/sandwich/bacon.html] action create[2014-08-08T16:13:37+00:00] INFO: Processing template[/sandwich/bacon.html] action create (tk-multiplatform::default line 14)
[2014-08-08T16:13:37+00:00] INFO: template[/sandwich/bacon.html] created file /sandwich/bacon.html
- create new file /sandwich/bacon.html[2014-08-08T16:13:37+00:00] INFO: template[/sandwich/bacon.html] updated file contents /sandwich/bacon.html
- update content in file /sandwich/bacon.html from none to 221c31
--- /sandwich/bacon.html 2014-08-08 16:13:37.579990000 +0000
+++ /tmp/chef-rendered-template20140808-1251-1uedtz4 2014-08-08 16:13:37.579990000 +0000
@@ -1 +1,6 @@
+<html>
+<body>
+<h1>Hello to Bacon's Burger!</h1>
+</body>
+</html>
[2014-08-08T16:13:37+00:00] INFO: Chef Run complete in 0.192989954 seconds
Running handlers:
[2014-08-08T16:13:37+00:00] INFO: Running report handlers
Running handlers complete
[2014-08-08T16:13:37+00:00] INFO: Report handlers complete
Chef Client finished, 2/2 resources updated in 5.482532411 seconds
Finished converging <default-ubuntu-1304> (1m57.42s).
-----> Creating <default-windows-2012R2>...
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'windows-2012R2'...
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: default-windows-2012R2_default_1407514481816_83029
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-windows-2012R2> created.
Finished creating <default-windows-2012R2> (1m35.84s).
-----> Converging <default-windows-2012R2>...
Preparing files for transfer
Preparing dna.json
Resolving cookbook dependencies with Berkshelf 3.1.4...
Removing non-cookbook files before transfer
Preparing solo.rb
-----> Chef Omnibus installation detected (true)
Transferring files to <default-windows-2012R2>
Concurrent threads set to :max_threads => 20
[2014-08-08T09:16:48-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-08-08T09:16:50-07:00] INFO: *** Chef 11.12.8 ***
[2014-08-08T09:16:50-07:00] INFO: Chef-client pid: 3320
[2014-08-08T09:16:59-07:00] INFO: Setting the run_list to ["recipe[tk-multiplatform::default]"] from CLI options
[2014-08-08T09:16:59-07:00] INFO: Run List is [recipe[tk-multiplatform::default]]
[2014-08-08T09:16:59-07:00] INFO: Run List expands to [tk-multiplatform::default]
[2014-08-08T09:16:59-07:00] INFO: Starting Chef Run for default-windows-2012R2
[2014-08-08T09:16:59-07:00] INFO: Running start handlers
[2014-08-08T09:16:59-07:00] INFO: Start handlers complete.
[2014-08-08T09:16:59-07:00] INFO: Processing directory[/sandwich] action create (tk-multiplatform::default line 10)
[2014-08-08T09:16:59-07:00] INFO: directory[/sandwich] created directory /sandwich
[2014-08-08T09:16:59-07:00] INFO: Processing template[/sandwich/bacon.html] action create (tk-multiplatform::default line 14)
[2014-08-08T09:16:59-07:00] INFO: template[/sandwich/bacon.html] created file /sandwich/bacon.html
[2014-08-08T09:16:59-07:00] INFO: template[/sandwich/bacon.html] updated file contents /sandwich/bacon.html
[2014-08-08T09:16:59-07:00] INFO: Chef Run complete in 0.109178 seconds
[2014-08-08T09:16:59-07:00] INFO: Running report handlers
[2014-08-08T09:16:59-07:00] INFO: Report handlers complete
Finished converging <default-windows-2012R2> (1m45.75s).
-----> Creating <default-centos-65>...
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'opscode-centos-6.5'...
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: default-centos-65_default_1407514628751_8109
Skipping Berkshelf with --no-provision
==> default: Fixed port collision for 22 => 2222. Now on port 2200.
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
==> default: Forwarding ports...
default: 22 => 2200 (adapter 1)
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2200
default: SSH username: vagrant
default: SSH auth method: private key
default: Warning: Connection timeout. 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-centos-65> created.
Finished creating <default-centos-65> (0m44.96s).
-----> Converging <default-centos-65>...
Preparing files for transfer
Preparing dna.json
Resolving cookbook dependencies with Berkshelf 3.1.4...
Removing non-cookbook files before transfer
Preparing validation.pem
Preparing client.rb
-----> Installing Chef Omnibus (install only if missing)
downloading https://www.getchef.com/chef/install.sh
to file /tmp/install.sh
trying wget...
trying curl...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 16519 100 16519 0 0 25325 0 --:--:-- --:--:-- --:--:-- 60731
Downloading Chef for el...
downloading https://www.getchef.com/chef/metadata?v=&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64
to file /tmp/install.sh.1926/metadata.txt
trying wget...
trying curl...
url https://opscode-omnibus-packages.s3.amazonaws.com/el/6/x86_64/chef-11.14.2-1.el6.x86_64.rpm
md5 ffeffb67c310e6f76bb5d90ee7e30a3f
sha256 840946bc5f7931346131c0c77f2f5bfd1328245189fc6c8173b01eb040ffb58b
downloaded metadata file looks valid...
downloading https://opscode-omnibus-packages.s3.amazonaws.com/el/6/x86_64/chef-11.14.2-1.el6.x86_64.rpm
to file /tmp/install.sh.1926/chef-11.14.2-1.el6.x86_64.rpm
trying wget...
Comparing checksum with sha256sum...
Installing Chef
installing with rpm...
warning: /tmp/install.sh.1926/chef-11.14.2-1.el6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 83ef826a: NOKEY
Preparing... ##### ########################################### [100%]
1:chef ########################################### [100%]
Thank you for installing Chef!
Transferring files to <default-centos-65>
[2014-08-08T16:22:57+00:00] INFO: Starting chef-zero on host localhost, port 8889 with repository at repository at /tmp/kitchen
One version per cookbook
[2014-08-08T16:22:57+00:00] INFO: Forking chef instance to converge...
Starting Chef Client, version 11.14.2
[2014-08-08T16:22:57+00:00] INFO: *** Chef 11.14.2 ***
[2014-08-08T16:22:57+00:00] INFO: Chef-client pid: 2034
Creating a new client identity for default-centos-65 using the validator key.
[2014-08-08T16:23:04+00:00] INFO: Client key /tmp/kitchen/client.pem is not present - registering
[2014-08-08T16:23:04+00:00] INFO: HTTP Request Returned 404 Not Found : Object not found: http://localhost:8889/nodes/default-centos-65
[2014-08-08T16:23:04+00:00] INFO: Setting the run_list to ["recipe[tk-multiplatform::default]"] from CLI options
[2014-08-08T16:23:04+00:00] INFO: Run List is [recipe[tk-multiplatform::default]]
[2014-08-08T16:23:04+00:00] INFO: Run List expands to [tk-multiplatform::default]
[2014-08-08T16:23:04+00:00] INFO: Starting Chef Run for default-centos-65
[2014-08-08T16:23:04+00:00] INFO: Running start handlers
[2014-08-08T16:23:04+00:00] INFO: Start handlers complete.
[2014-08-08T16:23:04+00:00] INFO: HTTP Request Returned 404 Not Found : Object not found: /reports/nodes/default-centos-65/runs
resolving cookbooks for run list: ["tk-multiplatform::default"]
[2014-08-08T16:23:04+00:00] INFO: Loading cookbooks [tk-multiplatform@0.1.0, apache2@1.11.0, iptables@0.13.2, logrotate@1.6.0, pacman@1.1.1, freebsd@0.1.9]
Synchronizing Cookbooks:
[2014-08-08T16:23:04+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_cgi.rb in the cache.
[2014-08-08T16:23:04+00:00] INFO: Storing updated cookbooks/apache2/recipes/logrotate.rb in the cache.
[2014-08-08T16:23:05+00:00] INFO: Storing updated cookbooks/tk-multiplatform/recipes/default.rb in the cache.
[2014-08-08T16:23:05+00:00] INFO: Storing updated cookbooks/tk-multiplatform/README.md in the cache.
[2014-08-08T16:23:05+00:00] INFO: Storing updated cookbooks/tk-multiplatform/metadata.json in the cache.
- tk-multiplatform
[2014-08-08T16:23:05+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_proxy.rb in the cache.
[2014-08-08T16:23:05+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_perl.rb in the cache.
[2014-08-08T16:23:05+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_python.rb in the cache.
[2014-08-08T16:23:05+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_mime.rb in the cache.
[2014-08-08T16:23:05+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_authz_host.rb in the cache.
[2014-08-08T16:23:05+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_negotiation.rb in the cache.
[2014-08-08T16:23:05+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_cloudflare.rb in the cache.
[2014-08-08T16:23:05+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_proxy_connect.rb in the cache.
[2014-08-08T16:23:05+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_fcgid.rb in the cache.
[2014-08-08T16:23:05+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_ldap.rb in the cache.
[2014-08-08T16:23:05+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_rewrite.rb in the cache.
[2014-08-08T16:23:05+00:00] INFO: Storing updated cookbooks/apache2/recipes/god_monitor.rb in the cache.
[2014-08-08T16:23:05+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_apreq2.rb in the cache.
[2014-08-08T16:23:05+00:00] INFO: Storing updated cookbooks/apache2/recipes/default.rb in the cache.
[2014-08-08T16:23:05+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_wsgi.rb in the cache.
[2014-08-08T16:23:05+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_jk.rb in the cache.
[2014-08-08T16:23:05+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_xsendfile.rb in the cache.
[2014-08-08T16:23:05+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_proxy_http.rb in the cache.
[2014-08-08T16:23:05+00:00] INFO: Storing updated cookbooks/apache2/recipes/iptables.rb in the cache.
[2014-08-08T16:23:05+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_headers.rb in the cache.
[2014-08-08T16:23:05+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_dir.rb in the cache.
[2014-08-08T16:23:05+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_auth_basic.rb in the cache.
[2014-08-08T16:23:05+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_authz_groupfile.rb in the cache.
[2014-08-08T16:23:05+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_dav.rb in the cache.
[2014-08-08T16:23:05+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_authnz_ldap.rb in the cache.
[2014-08-08T16:23:05+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_authn_file.rb in the cache.
[2014-08-08T16:23:05+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_logio.rb in the cache.
[2014-08-08T16:23:05+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_php5.rb in the cache.
[2014-08-08T16:23:05+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_dav_fs.rb in the cache.
[2014-08-08T16:23:05+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_dav_svn.rb in the cache.
[2014-08-08T16:23:05+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_filter.rb in the cache.
[2014-08-08T16:23:05+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_fastcgi.rb in the cache.
[2014-08-08T16:23:05+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_alias.rb in the cache.
[2014-08-08T16:23:05+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_authz_user.rb in the cache.
[2014-08-08T16:23:05+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_proxy_ajp.rb in the cache.
[2014-08-08T16:23:05+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_include.rb in the cache.
[2014-08-08T16:23:05+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_setenvif.rb in the cache.
[2014-08-08T16:23:05+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_deflate.rb in the cache.
[2014-08-08T16:23:05+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_env.rb in the cache.
[2014-08-08T16:23:05+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_ssl.rb in the cache.
[2014-08-08T16:23:06+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_auth_digest.rb in the cache.
[2014-08-08T16:23:06+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_proxy_balancer.rb in the cache.
[2014-08-08T16:23:06+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_info.rb in the cache.
[2014-08-08T16:23:06+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_pagespeed.rb in the cache.
[2014-08-08T16:23:06+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_status.rb in the cache.
[2014-08-08T16:23:06+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_userdir.rb in the cache.
[2014-08-08T16:23:06+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_expires.rb in the cache.
[2014-08-08T16:23:06+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_actions.rb in the cache.
[2014-08-08T16:23:06+00:00] INFO: Storing updated cookbooks/apache2/definitions/apache_conf.rb in the cache.
[2014-08-08T16:23:06+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_auth_cas.rb in the cache.
[2014-08-08T16:23:06+00:00] INFO: Storing updated cookbooks/apache2/definitions/web_app.rb in the cache.
[2014-08-08T16:23:06+00:00] INFO: Storing updated cookbooks/apache2/definitions/apache_module.rb in the cache.
[2014-08-08T16:23:06+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_autoindex.rb in the cache.
[2014-08-08T16:23:06+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_authz_default.rb in the cache.
[2014-08-08T16:23:06+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_auth_openid.rb in the cache.
[2014-08-08T16:23:06+00:00] INFO: Storing updated cookbooks/apache2/attributes/mod_fastcgi.rb in the cache.
[2014-08-08T16:23:06+00:00] INFO: Storing updated cookbooks/apache2/attributes/mod_ssl.rb in the cache.
[2014-08-08T16:23:06+00:00] INFO: Storing updated cookbooks/apache2/attributes/default.rb in the cache.
[2014-08-08T16:23:06+00:00] INFO: Storing updated cookbooks/apache2/metadata.json in the cache.
[2014-08-08T16:23:06+00:00] INFO: Storing updated cookbooks/apache2/attributes/mod_pagespeed.rb in the cache.
[2014-08-08T16:23:06+00:00] INFO: Storing updated cookbooks/apache2/attributes/mod_auth_cas.rb in the cache.
[2014-08-08T16:23:06+00:00] INFO: Storing updated cookbooks/apache2/attributes/mod_auth_openid.rb in the cache.
[2014-08-08T16:23:06+00:00] INFO: Storing updated cookbooks/apache2/README.md in the cache.
[2014-08-08T16:23:06+00:00] INFO: Storing updated cookbooks/iptables/recipes/disabled.rb in the cache.
[2014-08-08T16:23:06+00:00] INFO: Storing updated cookbooks/iptables/definitions/iptables_rule.rb in the cache.
[2014-08-08T16:23:06+00:00] INFO: Storing updated cookbooks/iptables/recipes/default.rb in the cache.
[2014-08-08T16:23:06+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_log_config.rb in the cache.
[2014-08-08T16:23:06+00:00] INFO: Storing updated cookbooks/apache2/definitions/apache_site.rb in the cache.
- apache2
[2014-08-08T16:23:06+00:00] INFO: Storing updated cookbooks/iptables/metadata.json in the cache.
[2014-08-08T16:23:06+00:00] INFO: Storing updated cookbooks/logrotate/recipes/default.rb in the cache.
[2014-08-08T16:23:06+00:00] INFO: Storing updated cookbooks/logrotate/recipes/global.rb in the cache.
[2014-08-08T16:23:06+00:00] INFO: Storing updated cookbooks/iptables/README.md in the cache.
- iptables
[2014-08-08T16:23:06+00:00] INFO: Storing updated cookbooks/logrotate/attributes/default.rb in the cache.
[2014-08-08T16:23:06+00:00] INFO: Storing updated cookbooks/logrotate/libraries/logrotate_config.rb in the cache.
[2014-08-08T16:23:06+00:00] INFO: Storing updated cookbooks/logrotate/metadata.json in the cache.
[2014-08-08T16:23:06+00:00] INFO: Storing updated cookbooks/logrotate/README.md in the cache.
[2014-08-08T16:23:06+00:00] INFO: Storing updated cookbooks/pacman/resources/aur.rb in the cache.
[2014-08-08T16:23:06+00:00] INFO: Storing updated cookbooks/pacman/recipes/default.rb in the cache.
[2014-08-08T16:23:06+00:00] INFO: Storing updated cookbooks/pacman/providers/aur.rb in the cache.
[2014-08-08T16:23:06+00:00] INFO: Storing updated cookbooks/pacman/providers/group.rb in the cache.
[2014-08-08T16:23:06+00:00] INFO: Storing updated cookbooks/pacman/resources/group.rb in the cache.
[2014-08-08T16:23:06+00:00] INFO: Storing updated cookbooks/freebsd/resources/port_options.rb in the cache.
[2014-08-08T16:23:06+00:00] INFO: Storing updated cookbooks/pacman/metadata.json in the cache.
[2014-08-08T16:23:06+00:00] INFO: Storing updated cookbooks/pacman/README.md in the cache.
- pacman
[2014-08-08T16:23:06+00:00] INFO: Storing updated cookbooks/logrotate/definitions/logrotate_app.rb in the cache.
- logrotate
[2014-08-08T16:23:06+00:00] INFO: Storing updated cookbooks/freebsd/providers/port_options.rb in the cache.
[2014-08-08T16:23:06+00:00] INFO: Storing updated cookbooks/freebsd/recipes/default.rb in the cache.
[2014-08-08T16:23:06+00:00] INFO: Storing updated cookbooks/freebsd/README.md in the cache.
[2014-08-08T16:23:06+00:00] INFO: Storing updated cookbooks/freebsd/libraries/package_provider.rb in the cache.
[2014-08-08T16:23:06+00:00] INFO: Storing updated cookbooks/freebsd/recipes/portsnap.rb in the cache.
[2014-08-08T16:23:07+00:00] INFO: Storing updated cookbooks/freebsd/metadata.json in the cache.
- freebsd
Compiling Cookbooks...
Converging 2 resources
Recipe: tk-multiplatform::default Chef-11.12.8 ruby-2.1.2
* directory[/sandwich] action create[2014-08-08T16:23:07+00:00] INFO: Processing directory[/sandwich] action create (tk-multiplatform::default line 10)
[2014-08-08T16:23:07+00:00] INFO: directory[/sandwich] created directory /sandwich
- create new directory /sandwich
- restore selinux security context
Chef-11.12.8 ruby-2.1.2
* template[/sandwich/bacon.html] action create[2014-08-08T16:23:07+00:00] INFO: Processing template[/sandwich/bacon.html] action create (tk-multiplatform::default line 14)
[2014-08-08T16:23:07+00:00] INFO: template[/sandwich/bacon.html] created file /sandwich/bacon.html
- create new file /sandwich/bacon.html
[2014-08-08T16:23:07+00:00] INFO: template[/sandwich/bacon.html] updated file contents /sandwich/bacon.html
- update content in file /sandwich/bacon.html from none to 221c31
--- /sandwich/bacon.html 2014-08-08 16:23:07.587292890 +0000
+++ /tmp/chef-rendered-template20140808-2034-15k3o83 2014-08-08 16:23:07.589293891 +0000
@@ -1 +1,6 @@
+<html>
+<body>
+<h1>Hello to Bacon's Burger!</h1>
+</body>
+</html>
- restore selinux security context
[2014-08-08T16:23:07+00:00] INFO: Chef Run complete in 3.412024248 seconds
Running handlers:
[2014-08-08T16:23:07+00:00] INFO: Running report handlers
Running handlers complete Chef-11.12.8 ruby-2.1.2
[2014-08-08T16:23:07+00:00] INFO: Report handlers complete
Chef Client finished, 2/2 resources updated in 10.652120724 seconds Chef-11.12.8 ruby-2.1.2
Finished converging <default-centos-65> (5m27.11s).
-----> Kitchen is finished. (35m29.99s)
salimafiune@afiuneChef:~/github/tk-multiplatform
$ bundle exec kitchen list
Instance Driver Provisioner Transport Last Action
default-windows-2008R2 Ec2 ChefZero winrm Converged
default-ubuntu-1304 Ec2 ChefSolo ssh Converged
default-windows-2012R2 Vagrant ChefSolo winrm Converged
default-centos-65 Vagrant ChefZero ssh Converged
salimafiune@afiuneChef:~/github/tk-multiplatform
$ bundle exec kitchen setup default-windows-2008R2
-----> Starting Kitchen (v1.3.0)
-----> Setting up <default-windows-2008R2>...
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-windows-2008R2> (1m6.58s).
salimafiune@afiuneChef:~/github/tk-multiplatform
$ bundle exec kitchen verify default-windows-2012R2
-----> Starting Kitchen (v1.3.0)
-----> Setting up <default-windows-2012R2>...
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-windows-2012R2> (1m26.57s).
-----> Verifying <default-windows-2012R2>...
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 "/sandwich"
should be directory
Finished in 0.31256 seconds
1 example, 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-windows-2012R2> (0m2.55s).
-----> Kitchen is finished. (1m30.09s)
salimafiune@afiuneChef:~/github/tk-multiplatform
$ bundle exec kitchen list
Instance Driver Provisioner Transport Last Action
default-windows-2008R2 Ec2 ChefZero winrm Set Up
default-ubuntu-1304 Ec2 ChefSolo ssh Converged
default-windows-2012R2 Vagrant ChefSolo winrm Verified
default-centos-65 Vagrant ChefZero ssh Converged
salimafiune@afiuneChef:~/github/tk-multiplatform
$ bx kitchen destroy
-----> Starting Kitchen (v1.3.0)
-----> Destroying <default-windows-2008R2>...
EC2 instance <i-cc36f8e6> destroyed.
Finished destroying <default-windows-2008R2> (0m30.09s).
-----> Destroying <default-ubuntu-1304>...
EC2 instance <i-92448ab8> destroyed.
Finished destroying <default-ubuntu-1304> (0m2.58s).
-----> Destroying <default-windows-2012R2>...
==> default: Forcing shutdown of VM...
==> default: Destroying VM and associated drives...
Vagrant instance <default-windows-2012R2> destroyed.
Finished destroying <default-windows-2012R2> (0m4.50s).
-----> Destroying <default-centos-65>...
==> default: Forcing shutdown of VM...
==> default: Destroying VM and associated drives...
Vagrant instance <default-centos-65> destroyed.
Finished destroying <default-centos-65> (0m3.68s).
-----> Kitchen is finished. (0m41.92s)
salimafiune@afiuneChef:~/github/tk-multiplatform
$ bx kitchen list
Instance Driver Provisioner Transport Last Action
default-windows-2008R2 Ec2 ChefZero winrm <Not Created>
default-ubuntu-1304 Ec2 ChefSolo ssh <Not Created>
default-windows-2012R2 Vagrant ChefSolo winrm <Not Created>
default-centos-65 Vagrant ChefZero ssh <Not Created>
salimafiune@afiuneChef:~/github/tk-multiplatform
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment