This file contains hidden or 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
kitchen test | |
-----> Starting Kitchen (v1.13.2) | |
-----> Cleaning up any prior instances of <default-ubuntu-1404> | |
-----> Destroying <default-ubuntu-1404>... | |
Finished destroying <default-ubuntu-1404> (0m0.00s). | |
-----> Testing <default-ubuntu-1404> | |
-----> Creating <default-ubuntu-1404>... | |
Bringing machine 'default' up with 'virtualbox' provider... | |
==> default: Machine not provisioned because `--no-provision` is specified. | |
Waiting for SSH service on 127.0.0.1:2200, retrying in 3 seconds |
This file contains hidden or 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
--- | |
driver: | |
name: vagrant | |
provisioner: | |
name: chef_solo | |
platforms: | |
- name: ubuntu-14.04 | |
driver: |
This file contains hidden or 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
No instances for regex `', try running `kitchen list' | |
Usage: | |
kitchen list [INSTANCE|REGEXP|all] | |
Options: | |
-b, [--bare], [--no-bare] # List the name of each instance only, one per line | |
-d, [--debug], [--no-debug] # [Deprecated] Please use `kitchen diagnose' | |
-l, [--log-level=LOG_LEVEL] # Set the log level (debug, info, warn, error, fatal) |
This file contains hidden or 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
Ran su -c /tmp/master.sh root returned 1 | |
Resource Declaration: | |
--------------------- | |
# In /tmp/kitchen/cache/cookbooks/hwk/recipes/masterslave.rb | |
18: execute 'run the bash script' do | |
19: command "su -c /tmp/master.sh root" | |
20: end |
This file contains hidden or 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
Recipe: hwk::masterslave | |
* cookbook_file[/etc/mysql/my.cnf] action create (up to date) | |
* execute[refresh mysql] action run | |
- execute sudo service mysql restart | |
* cookbook_file[/tmp/master.sh] action create | |
- update content in file /tmp/master.sh from 4bcd5c to bfb0e9 | |
--- /tmp/master.sh 2016-12-04 09:15:24.164434654 +0000 | |
+++ /tmp/.chef-master20161204-23389-xen7ra.sh 2016-12-04 09:25:05.392434654 +0000 | |
@@ -2,8 +2,8 @@ | |
mysql -e "FLUSH PRIVILEGES;" |
This file contains hidden or 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
--- | |
provisioner: | |
name: chef_solo | |
platforms: | |
- name: ubuntu-14.04 | |
driver: | |
name: vagrant | |
network: | |
- ["forwarded_port", {guest: 80, host: 8123}] |
This file contains hidden or 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
$ ipconfig | |
Windows IP Configuration | |
Ethernet adapter Bluetooth Network Connection 3: | |
Media State . . . . . . . . . . . : Media disconnected | |
Connection-specific DNS Suffix . : |
This file contains hidden or 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
--- | |
provisioner: | |
name: chef_solo | |
platforms: | |
- name: ubuntu-14.04 | |
driver: | |
name: vagrant | |
network: | |
- ["forwarded_port", {guest: 80, host: 8123}] |
This file contains hidden or 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
$ kitchen create default-ubuntu-1604 | |
-----> Starting Kitchen (v1.13.2) | |
-----> Creating <default-ubuntu-1604>... | |
Bringing machine 'default' up with 'virtualbox' provider... | |
==> default: You assigned a static IP ending in ".1" to this machine. | |
==> default: This is very often used by the router and can cause the | |
==> default: network to not work properly. If the network doesn't work | |
==> default: properly, try changing this IP. | |
==> default: Importing base box 'bento/ubuntu-16.04'... | |
==> default: Matching MAC address for NAT networking... |
This file contains hidden or 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
$ kitchen converge | |
-----> Starting Kitchen (v1.13.2) | |
-----> Converging <default-ubuntu-1404>... | |
Preparing files for transfer | |
Preparing dna.json | |
Resolving cookbook dependencies with Berkshelf 5.1.0... | |
Removing non-cookbook files before transfer | |
Preparing solo.rb | |
-----> Chef Omnibus installation detected (install only if missing) | |
Transferring files to <default-ubuntu-1404> |