Uninitialized constant Chef::Deprecated (NameError)

Hi all,

After upgrade to chef-server-12.11.1, chef-server-ctl user-edit throws:

ERROR: knife encountered an unexpected error
This may be a bug in the 'opc user edit' knife command or plugin
Please collect the output of this command with the `-VV` option before filing a bug report.
Exception: NameError: uninitialized constant Chef::Deprecated

-VV gives:

/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.17/lib/chef/chef_class.rb:216:in deprecated': uninitialized constant Chef::Deprecated (NameError) from /opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.17/lib/chef/knife/core/ui.rb:189:in edit_data'
from /opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/knife-opc-0.3.2/lib/chef/knife/opc_user_edit.rb:50:in run' from /opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.17/lib/chef/knife.rb:443:in block in run_with_pretty_exceptions'
from /opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.17/lib/chef/local_mode.rb:44:in with_server_connectivity' from /opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.17/lib/chef/knife.rb:442:in run_with_pretty_exceptions'
from /opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.17/lib/chef/knife.rb:219:in run' from /opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.17/lib/chef/application/knife.rb:156:in run'
from /opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.17/bin/knife:25:in <top (required)>' from /opt/opscode/embedded/bin/knife:22:in load'
from /opt/opscode/embedded/bin/knife:22:in `'

Please advise what to do.

This is a bug in the version of knife-opc that ships with Chef Server 12.11.1. It will be fixed in the next stable Chef Server release.

It should also work in the latest release from the current channel: https://downloads.chef.io/chef_server/current/12.11.2+20161207093024