knife compliance
internal /hab/pkgs/core/ruby3_4/3.4.8/20260306111612/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb:136:in 'Kernel#require': cannot load such file -- html/table (LoadError)from internal /hab/pkgs/core/ruby3_4/3.4.8/20260306111612/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb:136:in 'Kernel#require'from /opt/fedex/chefdev/.chef/plugins/knife/compliance.rb:12:in 'block in class:Compliance'from /hab/pkgs/chef/knife/19.0.105/20260408092022/vendor/gems/knife-19.0.105/lib/chef/knife.rb:248:in 'Array#each'from /hab/pkgs/chef/knife/19.0.105/20260408092022/vendor/gems/knife-19.0.105/lib/chef/knife.rb:248:in 'Chef::Knife.load_deps'from /hab/pkgs/chef/knife/19.0.105/20260408092022/vendor/gems/knife-19.0.105/lib/chef/knife.rb:233:in 'Chef::Knife.run'from /hab/pkgs/chef/knife/19.0.105/20260408092022/vendor/gems/knife-19.0.105/lib/chef/application/knife.rb:166:in 'Chef::Application::Knife#run'from /hab/pkgs/chef/knife/19.0.105/20260408092022/vendor/gems/knife-19.0.105/bin/knife:24:in ''
We are currently evaluating Chef Workstation 26 in an existing enterprise environment that historically relied on knife compliance to execute InSpec compliance profiles and generate HTML reports (for example: knife compliance --profile <profile> --format html).
In Chef Workstation 25, this workflow operates as expected. After upgrading to Chef Workstation 26 (hab-based distribution), the same command is still available in the CLI help, but execution fails at runtime with missing Ruby dependencies (e.g. html/table), indicating that the Compliance/InSpec reporting runtime is no longer included.
At the moment, this forces us to keep both Chef Workstation 25 and 26 side-by-side, which increases operational complexity. We would like to understand:
-
Whether
knife complianceis considered deprecated or unsupported in Chef Workstation 26. -
If there is a planned future release where equivalent Compliance / InSpec functionality (including HTML report generation) will be reintroduced or officially supported in Workstation.
-
If not, what the recommended, supported migration path is for customers who previously depended on
knife complianceas part of their compliance reporting workflows.
Any clarification on the intended product direction would help us plan our tooling strategy going forward.