Sliim / pentest-env

Pentest environment deployer (kali linux + targets) using vagrant and chef.
http://sliim.github.io/pentest-env/
GNU General Public License v3.0
631 stars 169 forks source link

NoMethodError: private method `select' called for nil:NilClass #53

Closed maxlandon closed 5 years ago

maxlandon commented 5 years ago

Hello,

I run into this issue when vagrant up chef-workstation (running the chef-environment example): chef_error

The install process as described in the doc went fine, no errors whatsoever. Ask me if you need further info on my System or else. Thanks a lot !

Sliim commented 5 years ago

Hi,

it look like an issue with your Chef version (See: https://github.com/chef/chef/issues/6128) On your screen you are on 12.17.44, and in https://github.com/Sliim/pentest-env/issues/54 you said you upgraded to Chef13.

The Chef version 12.17.44 come from the resource examples/chef-environment.pentestrc. Can you try to change this version to 13.x ?

sed -i "s/12\.17\.44/13.2.20/" examples/chef-environment.pentestrc
maxlandon commented 5 years ago

Yes that works ! Thanks a lot