[chef] Re: Re: test-kitchen + chef-zero


Chronological Thread 
  • From: Carlton Stedman < >
  • To:
  • Subject: [chef] Re: Re: test-kitchen + chef-zero
  • Date: Tue, 24 Sep 2013 08:25:38 -0400

Whereas the vagrant-chef-zero vagrant plugin can be used with a Vagrantfile to start chef-zero on the host, I have not found a way to get test-kitchen to use chef-zero instance on the host. The test-kitchen chef_zero provisioner seems to install chef-zero on the guest and use it that way.

To get that to work, make sure you do not have a Vagrantfile in the directory you are running test-kitchen, and under the platform section add "use_vagrant_provision: false".

Example:

---
driver_plugin: vagrant

platforms:
- name: ubuntu-precise
  driver_config:
    box: ubuntu-12.04
    box_url: <some-url>.box
    provider: virtualbox
    use_vagrant_berkshelf_plugin: true
    use_vagrant_provision: false

provisioner: chef_zero

suites:
- name: default
  run_list: []
  attributes: {}



On Tue, Sep 24, 2013 at 8:02 AM, Anton Koldaev < " target="_blank"> > wrote:


On Tue, Sep 24, 2013 at 3:58 PM, Anton Koldaev < " target="_blank"> > wrote:
It looks like the initial support for chef-zero provisioner has been added to test-kitchen but it's not working for me:
https://gist.github.com/iroller/8a297dd53438ce02c5e7 (shows chef-zero as a provisioner, but still trying to use chef-solo on converge)

Is there a way to use Chef-zero with test-kitchen in the same way it works with Vagrantfile?
Maybe there is some pull request I can clone&merge or a fork where it works?

--
Best regards,
Koldaev Anton



--
Best regards,
Koldaev Anton




Archive powered by MHonArc 2.6.16.

§