How can we use "chef_client" with chef-zero in Vagrant?

24 views
Skip to first unread message

Joaquin Menchaca

unread,
Jul 2, 2015, 3:05:54 PM7/2/15
to vagra...@googlegroups.com
I would like to use the real chef-zero (the one that comes with the gem called chef-zero) and use this with "chef-client".   How can I do this?

I have exhaustively searched on the internet, but I cannot seem the find out how to do this.

I installed the chef-zero helper plug-in, vagrant plugin install vagrant-chef-zero, and use this in my Vagrantfile:     chef.chef_zero.enabled = true.

This doesn't seem to work, as I get the message:

chef client provisioner:
* The following settings shouldn't exist: chef_zero


I don't know if this is even the right solution path. 

I don't know how to get off the ground, at least with Vagrant's provisioners.  I don't want to have to define custom JSON or recipe run lists (or hackery to auto-gen it), as I want to simulate what I would do with a real chef server, much like you can do now in with the puppet provisioner for Puppet.

- Joaquin
Reply all
Reply to author
Forward
0 new messages