Installing ChefDK offline


#1

Hi,
I’m installing ChefDK on a REHL 7 machine with no internet connectivity. After installing, I keyed-in “chef verify” and got following error:

…/opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/chef
-provisioning-aws-2.2.2/lib/chef/resource/aws_route53_record_set.rb:48: warning: constant ::Fixnum is deprecated
…/opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/mixlib-shellout-2.3.2/lib/mixlib/shellout.rb:293:in `invalid!’: Expected process to exit with [0], but received
’128’ (Mixlib::ShellOut::ShellCommandFailed)
---- Begin output of /opt/chefdk/gitbin/git clone https://github.com/chef/chef-provisioning ----
STDOUT:
STDERR: Cloning into ‘chef-provisioning’…
fatal: unable to access.‘https://github.com/chef/chef-provisioning/’: Failed to connect to github port 443: Connection timed out…

Any help is much appreciated.


#2

chef verify is primarily used in our Ci to run our tests. Environmental factors such as lack of internet connectivity may cause the tests or setup to not work. This is expected.