diff --git a/.gitignore b/.gitignore index 941d9c3..4f5b82f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ Gemfile.lock tmp/ +# Test Kitchen +.kitchen diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..f0f457b --- /dev/null +++ b/Gemfile @@ -0,0 +1,3 @@ +source :rubygems + +gem 'test-kitchen' diff --git a/test/kitchen/Kitchenfile b/test/kitchen/Kitchenfile new file mode 100644 index 0000000..75da249 --- /dev/null +++ b/test/kitchen/Kitchenfile @@ -0,0 +1,5 @@ +cookbook "drupal" do + + configuration "default" + +end diff --git a/test/kitchen/cookbooks/drupal_test/metadata.rb b/test/kitchen/cookbooks/drupal_test/metadata.rb new file mode 100644 index 0000000..8a652fc --- /dev/null +++ b/test/kitchen/cookbooks/drupal_test/metadata.rb @@ -0,0 +1,5 @@ +maintainer "BK Box" +maintainer_email "bk@theboxes.org" +license "Apache 2.0" +description "Acceptance tests for drupal" +version "0.1.0" diff --git a/test/kitchen/cookbooks/drupal_test/recipes/default.rb b/test/kitchen/cookbooks/drupal_test/recipes/default.rb new file mode 100644 index 0000000..fcd5906 --- /dev/null +++ b/test/kitchen/cookbooks/drupal_test/recipes/default.rb @@ -0,0 +1,3 @@ +node.set['mysql']['server_debian_password'] = "ilikerandompasswords" +node.set['mysql']['server_root_password'] = "ilikerandompasswords" +node.set['mysql']['server_repl_password'] = "ilikerandompasswords"