Chef-metal individual files

I’m trying to break a chef-metal config into some smaller files for
manageability. Ie, the section that has ‘with_machine_options’ and
’with_chef_server’ would go in a common file. However, I’ve had no luck
with require, load, include, or even include_recipe. Not much or a ruby
guy. How would I do this?

Doug

Doug,

I have done this successfully by running chef-client as follows:

chef-client -z common_stuff.rb app_specific_stuff.rb
On Oct 14, 2014 2:54 PM, "Douglas Garstang" doug.garstang@gmail.com
wrote:

I'm trying to break a chef-metal config into some smaller files for
manageability. Ie, the section that has 'with_machine_options' and
'with_chef_server' would go in a common file. However, I've had no luck
with require, load, include, or even include_recipe. Not much or a ruby
guy. How would I do this?

Doug