Thanks Andrei, it works!
chef-client doesn’t have a parameter ‘-r’ like chef-solo for those tar ball cookbook.
So can I just extract the cookbook.tgz and only runs ‘chef-client -z’ instead of old ‘chef-solo -r cookbook.tgz’?
From: Andrei Radulescu [mailto:email@example.com]
Sent: Friday, April 24, 2015 5:27 PM
Subject: [chef] Re: Is it possible to run chef-solo with cookbook offline?
Yes, it is. Just run:
More info here: https://www.chef.io/blog/2013/10/31/chef-client-z-from-zero-to-chef-in-8-5-seconds/
On Fri, Apr 24, 2015 at 11:05 AM, jeffty <firstname.lastname@example.org mailto:email@example.com > wrote:
Our machines are behind firewall and there is no Internet access.
We prepare to auto deploy software in these machines with chef, installed chef client and prepared local yum repository and downloaded cookbooks for those packages installation.
But it seems that chef need a an Internet access even if the cookbook and chef package is in local.
Is it possible to run it offline? Or we should install private chef server for that?