Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chef exec rake lint fails, foodcritic deprecated #265

Closed
flybd5 opened this issue Dec 24, 2020 · 1 comment
Closed

chef exec rake lint fails, foodcritic deprecated #265

flybd5 opened this issue Dec 24, 2020 · 1 comment

Comments

@flybd5
Copy link

flybd5 commented Dec 24, 2020

Command chef exec rake lint fails, foodcritic has apparently been deprecated, recommends using cookstyle

$ chef exec rake lint 
rake aborted!
LoadError: cannot load such file -- foodcritic
/home/zork/learn-chef-infra/chef-os-hardening/Rakefile:5:in `<top (required)>'
(See full trace by running task with --trace)

Running foodcritic returns:

Foodcritic has been deprecated. Use cookstyle instead, which provides over 200 Chef Infra cops with autocorrection! For more details see https://blog.chef.io/goodbye-foodcritic/
Ubuntu 18.04
Chef Workstation version: 20.12.187
Chef Infra Client version: 16.7.61
Chef InSpec version: 4.23.15
Chef CLI version: 3.0.33
Chef Habitat version: 1.6.181
Test Kitchen version: 2.8.0
Cookstyle version: 7.2.1
@artem-sidorenko
Copy link
Member

Resolved via #281

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants