Chef solo issue while loading libraries


#1

Hi ,

I am running chef solo to install the chef server. My chef solo command is
very simple:

chef-solo -c solo.rb -j solo.json

cat solo.json

{
“run_list”: [ “recipe[chef-server-install::default]” ]
}

The issue is that its trying to load all the cookbook libraries present. We
have a couple of custom libraries that require ‘ruby-wmi’ and that’s
failing on a linux centos box. I agree that the loading of libraries is
the way to go but what should I do to ignore this as part of this run ? Is
using the platform variable a good option? Have you faced this issue ?

Mamu