schubergphilis / vagrant-chef-zero

Vagrant Plugin for Chef Zero
Apache License 2.0
91 stars 42 forks source link

add support for Ruby DSL Role and Environment files #22

Closed mattray closed 11 years ago

mattray commented 11 years ago

This adds support for uploading Roles and Environments by reading the .rb files and converting them to json on the fly. It adds the chef gem as a dependency, which is the current easiest way to read in the files. Works like a champ with a mix of .rb and .json files, like in https://github.com/stackforge/openstack-chef-repo

andrewgross commented 11 years ago

Hey Matt,

Thanks for sending this along. I will see if I can test and merge it in soon.

spheromak commented 11 years ago

:+1: nice work @mattray

kramvan1 commented 10 years ago

Would it be possible to add this to the chef zero that is used with test-kitchen and kitchen-openstack?

mattray commented 10 years ago

Yeah, the "right" fix would be to get it supported in Chef Zero natively instead of hacking around that with a real Chef dependency. https://github.com/opscode/chef-zero/issues/34 for background.

On Thu, Jan 23, 2014 at 3:27 PM, kramvan1 notifications@github.com wrote:

Would it be possible to add this to the chef zero that is used with test-kitchen and kitchen-openstack?

— Reply to this email directly or view it on GitHubhttps://github.com/andrewgross/vagrant-chef-zero/pull/22#issuecomment-33170381 .