{"action":"created","issue":{"url":"https://api.github.com/repos/neillturner/kitchen-verifier-serverspec/issues/1","repository_url":"https://api.github.com/repos/neillturner/kitchen-verifier-serverspec","labels_url":"https://api.github.com/repos/neillturner/kitchen-verifier-serverspec/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/neillturner/kitchen-verifier-serverspec/issues/1/comments","events_url":"https://api.github.com/repos/neillturner/kitchen-verifier-serverspec/issues/1/events","html_url":"https://github.com/neillturner/kitchen-verifier-serverspec/issues/1","id":143303371,"number":1,"title":"Failed to complete #setup action:","user":{"login":"milky-milk","id":6838201,"avatar_url":"https://avatars.githubusercontent.com/u/6838201?v=3","gravatar_id":"","url":"https://api.github.com/users/milky-milk","html_url":"https://github.com/milky-milk","followers_url":"https://api.github.com/users/milky-milk/followers","following_url":"https://api.github.com/users/milky-milk/following{/other_user}","gists_url":"https://api.github.com/users/milky-milk/gists{/gist_id}","starred_url":"https://api.github.com/users/milky-milk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milky-milk/subscriptions","organizations_url":"https://api.github.com/users/milky-milk/orgs","repos_url":"https://api.github.com/users/milky-milk/repos","events_url":"https://api.github.com/users/milky-milk/events{/privacy}","received_events_url":"https://api.github.com/users/milky-milk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-03-24T17:03:44Z","updated_at":"2016-03-26T08:30:11Z","closed_at":null,"body":"Hello!\r\nI'm trying to setup test-kitchen with docker driver, kitchen-ansible and kitchen-verifier-serverspec, but it dies with error: \r\n```\r\n-----> Starting Kitchen (v1.6.0)\r\nD      [kitchen::driver::docker command] BEGIN (sudo -E docker >> /dev/null 2>&1)\r\nD      [kitchen::driver::docker command] END (0m0.11s)\r\n-----> Setting up <default-centos-67>...\r\n$$$$$$ Running legacy setup for 'Docker' Driver\r\n>>>>>> ------Exception-------\r\n>>>>>> Class: Kitchen::ActionFailed\r\n>>>>>> Message: Failed to complete #setup action: [private method `install_command' called for #<Kitchen::Verifier::Serverspec:0x000000020e3c40>]\r\n>>>>>> ----------------------\r\n>>>>>> Please see .kitchen/logs/kitchen.log for more details\r\n>>>>>> Also try running `kitchen diagnose --all` for configuration\r\n\r\nD      ------Exception-------\r\nD      Class: Kitchen::ActionFailed\r\nD      Message: Failed to complete #setup action: [private method `install_command' called for #<Kitchen::Verifier::Serverspec:0x000000020e3c40>]\r\nD      ---Nested Exception---\r\nD      Class: NoMethodError\r\nD      Message: private method `install_command' called for #<Kitchen::Verifier::Serverspec:0x000000020e3c40>\r\nD      ------Backtrace-------\r\nD      /var/lib/gems/2.1.0/gems/test-kitchen-1.6.0/lib/kitchen/driver/ssh_base.rb:95:in `block in setup'\r\nD      /var/lib/gems/2.1.0/gems/test-kitchen-1.6.0/lib/kitchen/transport/base.rb:86:in `initialize'\r\nD      /var/lib/gems/2.1.0/gems/test-kitchen-1.6.0/lib/kitchen/transport/ssh.rb:350:in `new'\r\nD      /var/lib/gems/2.1.0/gems/test-kitchen-1.6.0/lib/kitchen/transport/ssh.rb:350:in `create_new_connection'\r\nD      /var/lib/gems/2.1.0/gems/test-kitchen-1.6.0/lib/kitchen/transport/ssh.rb:85:in `connection'\r\nD      /var/lib/gems/2.1.0/gems/test-kitchen-1.6.0/lib/kitchen/driver/ssh_base.rb:94:in `setup'\r\nD      /var/lib/gems/2.1.0/gems/test-kitchen-1.6.0/lib/kitchen/instance.rb:602:in `legacy_ssh_base_setup'\r\nD      /var/lib/gems/2.1.0/gems/test-kitchen-1.6.0/lib/kitchen/instance.rb:388:in `block in setup_action'\r\nD      /var/lib/gems/2.1.0/gems/test-kitchen-1.6.0/lib/kitchen/instance.rb:513:in `call'\r\nD      /var/lib/gems/2.1.0/gems/test-kitchen-1.6.0/lib/kitchen/instance.rb:513:in `synchronize_or_call'\r\nD      /var/lib/gems/2.1.0/gems/test-kitchen-1.6.0/lib/kitchen/instance.rb:478:in `block in action'\r\nD      /usr/lib/ruby/2.1.0/benchmark.rb:279:in `measure'\r\nD      /var/lib/gems/2.1.0/gems/test-kitchen-1.6.0/lib/kitchen/instance.rb:477:in `action'\r\nD      /var/lib/gems/2.1.0/gems/test-kitchen-1.6.0/lib/kitchen/instance.rb:387:in `setup_action'\r\nD      /var/lib/gems/2.1.0/gems/test-kitchen-1.6.0/lib/kitchen/instance.rb:348:in `block in transition_to'\r\nD      /var/lib/gems/2.1.0/gems/test-kitchen-1.6.0/lib/kitchen/instance.rb:347:in `each'\r\nD      /var/lib/gems/2.1.0/gems/test-kitchen-1.6.0/lib/kitchen/instance.rb:347:in `transition_to'\r\nD      /var/lib/gems/2.1.0/gems/test-kitchen-1.6.0/lib/kitchen/instance.rb:160:in `verify'\r\nD      /var/lib/gems/2.1.0/gems/test-kitchen-1.6.0/lib/kitchen/command.rb:176:in `public_send'\r\nD      /var/lib/gems/2.1.0/gems/test-kitchen-1.6.0/lib/kitchen/command.rb:176:in `block (2 levels) in run_action'\r\nD      ----------------------\r\n```\r\n\r\nMy kitchen.yml\r\n```\r\n---\r\ndriver:\r\n  name: docker\r\n\r\nprovisioner:\r\n  name: ansible_playbook\r\n  hosts: localhost\r\n  playbook: site.yml\r\n  require_ansible_repo: true\r\n  require_ruby_for_busser: true\r\n\r\nplatforms:\r\n  - name: centos-6.7\r\n\r\nverifier:\r\n  name: serverspec\r\n  sudo_path: true\r\n  remote_execution: true\r\n\r\nsuites:\r\n  - name: default\r\n    run_list:\r\n    attributes:\r\n```\r\n\r\nand my installed gems:\r\n\r\n```\r\n*** LOCAL GEMS ***\r\n\r\nbackticks (0.4.0)\r\nbigdecimal (1.2.4)\r\nbundler (1.11.2)\r\ndiff-lcs (1.2.5)\r\ndocker (0.3.1)\r\nfaraday (0.9.2)\r\nhighline (1.7.8)\r\nio-console (0.4.2)\r\njson (1.8.1)\r\nkitchen-ansible (0.40.1, 0.0.32)\r\nkitchen-docker (2.3.0, 1.5.0)\r\nkitchen-verifier-serverspec (0.3.0)\r\nlibrarian (0.1.2)\r\nlibrarian-ansible (3.0.0)\r\nminitest (4.7.5)\r\nmixlib-install (0.7.1)\r\nmixlib-shellout (2.2.6, 1.6.1)\r\nmulti_json (1.11.2)\r\nmultipart-post (2.0.0)\r\nnet-scp (1.2.1)\r\nnet-ssh (2.9.4)\r\npsych (2.0.5)\r\nrake (10.1.0)\r\nrdoc (4.1.0)\r\nrspec (3.4.0)\r\nrspec-core (3.4.4)\r\nrspec-expectations (3.4.0)\r\nrspec-its (1.2.0)\r\nrspec-mocks (3.4.1)\r\nrspec-support (3.4.1)\r\nsafe_yaml (1.0.4)\r\nserverspec (2.3.1)\r\nspecinfra (2.4.5)\r\ntest-kitchen (1.6.0, 1.2.1)\r\ntest-unit (2.1.5.0)\r\nthor (0.19.1)\r\n```\r\n\r\nWhere I am wrong? Maybe I am miss something? \r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/neillturner/kitchen-verifier-serverspec/issues/comments/201734326","html_url":"https://github.com/neillturner/kitchen-verifier-serverspec/issues/1#issuecomment-201734326","issue_url":"https://api.github.com/repos/neillturner/kitchen-verifier-serverspec/issues/1","id":201734326,"user":{"login":"neillturner","id":408419,"avatar_url":"https://avatars.githubusercontent.com/u/408419?v=3","gravatar_id":"","url":"https://api.github.com/users/neillturner","html_url":"https://github.com/neillturner","followers_url":"https://api.github.com/users/neillturner/followers","following_url":"https://api.github.com/users/neillturner/following{/other_user}","gists_url":"https://api.github.com/users/neillturner/gists{/gist_id}","starred_url":"https://api.github.com/users/neillturner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neillturner/subscriptions","organizations_url":"https://api.github.com/users/neillturner/orgs","repos_url":"https://api.github.com/users/neillturner/repos","events_url":"https://api.github.com/users/neillturner/events{/privacy}","received_events_url":"https://api.github.com/users/neillturner/received_events","type":"User","site_admin":false},"created_at":"2016-03-26T08:30:11Z","updated_at":"2016-03-26T08:30:11Z","body":"looks like someone found the bug: \r\n https://github.com/centosadmin/kitchen-verifier-serverspec/commit/1d52c2201ecd82348162cad70967889d71be23b0\r\n\r\nthe advantage of open source."}}