[WIP][sensu-custom] `sensu-custom` cookbook supports `kitchen-docker` environment.
[sensu-custom] `sensu-custom` supports `kitchen-docker` testing environments.

```
diff --git a/site-cookbooks/sensu-custom/.kitchen.yml b/site-cookbooks/sensu-custom/.kitchen.yml
index dcea2dc..d5e02e1 100644
--- a/site-cookbooks/sensu-custom/.kitchen.yml
+++ b/site-cookbooks/sensu-custom/.kitchen.yml
@@ -1,21 +1,21 @@
 ---
 driver:
-  name: vagrant
+  name: docker
+  socket: <%= ENV['DOCKER_HOST'] %>

 provisioner:
   name: chef_solo
-  environments_path: ../../environments
   encrypted_data_bag_secret_key_path: ../../.chef_databag_secret
   data_bags_path: ../../data_bags
   roles_path: ../../roles

 platforms:
   - name: ubuntu-12.04
-    driver:
-      box: ubuntu-1204x64
+    driver_config:
+      image: kazu634:ubuntu1204
   - name: ubuntu-14.04
-    driver:
-      box: ubuntu-1404x64
+    driver_config:
+      image: kazu634:ubuntu1404

 suites:
   - name: default
```
[WIP][webapp] Supports `kitchen-docker` testing environment.
Merge pull request #158 from kazu634/sensu-custom-supports-kitchen-docker

[sensu-custom] `sensu-custom` cookbook supports `kitchen-docker` environment.
[webapp] `webapp` cookbook supports `kitchen-docker` testing environment.

```
diff --git a/site-cookbooks/webapp/.kitchen.yml b/site-cookbooks/webapp/.kitchen.yml
index 0af1801..41aaabe 100644
--- a/site-cookbooks/webapp/.kitchen.yml
+++ b/site-cookbooks/webapp/.kitchen.yml
@@ -1,6 +1,7 @@
 ---
 driver:
-  name: vagrant
+  name: docker
+  socket: <%= ENV['DOCKER_HOST'] %>

 provisioner:
   name: chef_solo
@@ -8,14 +9,13 @@ provisioner:
   data_bags_path: ../../data_bags
   roles_path: ../../roles

-
 platforms:
   - name: ubuntu-12.04
-    driver:
-      box: ubuntu-1204x64
+    driver_config:
+      image: kazu634:ubuntu1204
   - name: ubuntu-14.04
-    driver:
-      box: ubuntu-1404x64
+    driver_config:
+      image: kazu634:ubuntu1404

 suites:
   - name: default
```
Merge pull request #159 from kazu634/webapp-supports-kitchen-docker

[webapp] Supports `kitchen-docker` testing environment.
[wordpress] Do not run tests when `wordpress` cookbook is modified.

```
diff --git a/tasks/tests/build-images.rake b/tasks/tests/build-images.rake
index 38126c4..44d9f76 100755
--- a/tasks/tests/build-images.rake
+++ b/tasks/tests/build-images.rake
@@ -5,7 +5,7 @@ require 'rake'
 desc "Build docker images"
 task :build do
   # Retrieve the list of the modified files:
-  modified_files = `git diff --name-only master..\`git symbolic-ref HEAD\``
+  modified_files = `git diff --name-only master..\`git symbolic-ref HEAD\` | grep -v wordpress`

   # If no cookbooks are modified, exit task:
   unless modified_files.include?("site-cookbooks")
```