knife-inspect icon indicating copy to clipboard operation
knife-inspect copied to clipboard

Inspect your chef repo as is compares to what is on your chef server

Results 7 knife-inspect issues
Sort by recently updated
recently updated
newest added

Now when you make knife inspect you get string that can be parsed to JSON easy

enhancement

I have found out that we did not check for local files in a cookbook that were not on the Chef server This should work with Chef 11, 12 and...

I have a data bag that is dynamically updated, so i don't keep it in git. I'd like to be able to check all data bags except that one. Thanks!

.chefdk/gem/ruby/2.1.0/gems/knife-inspect-0.12.0/lib/health_inspector/checklists/cookbooks.rb:45:in `block (2 levels) in validate_changes_on_the_server_not_in_the_repo': undefined method`join' for nil:NilClass (NoMethodError) from /Users/jseidel/.chefdk/gem/ruby/2.1.0/gems/knife-inspect-0.12.0/lib/health_inspector/checklists/cookbooks.rb:44:in `each' from /Users/jseidel/.chefdk/gem/ruby/2.1.0/gems/knife-inspect-0.12.0/lib/health_inspector/checklists/cookbooks.rb:44:in`block in validate_changes_on_the_server_not_in_the_repo' from /Users/jseidel/.chefdk/gem/ruby/2.1.0/gems/knife-inspect-0.12.0/lib/health_inspector/checklists/cookbooks.rb:43:in `each' from /Users/jseidel/.chefdk/gem/ruby/2.1.0/gems/knife-inspect-0.12.0/lib/health_inspector/checklists/cookbooks.rb:43:in`validate_changes_on_the_server_not_in_the_repo' from /Users/jseidel/.chefdk/gem/ruby/2.1.0/gems/knife-inspect-0.12.0/lib/health_inspector/pairing.rb:30:in `block in validate' from /Users/jseidel/.chefdk/gem/ruby/2.1.0/gems/knife-inspect-0.12.0/lib/health_inspector/pairing.rb:30:in`each'...

bug

I'm trying to run knife-inspect in Travis-ci. It's working great for cookbooks, but unable to find my roles or environments: ``` Inspecting environments -------------------------------------------------------------------------------- ✓ _default - production exists on...

I'm getting the following stack trace after running `bundle exec knife inspect -VV` ``` /home/qdm/.rvm/gems/ruby-2.1.5/gems/knife-inspect-0.12.0/lib/health_inspector/checklists/cookbooks.rb:45:in `block (2 levels) in validate_changes_on_the_server_not_in_the_repo': undefined method `join' for nil:NilClass (NoMethodError) from /home/qdm/.rvm/gems/ruby-2.1.5/gems/knife-inspect-0.12.0/lib/health_inspector/checklists/cookbooks.rb:44:in `each' from...

I don't use the `cookbooks/` directory in my chef-repo. I would like a way to turn off this checklist, if possible. I can imagine other cases where people would want...