This solves issues with Chefspec where chef-client gets loaded repeatedly:
chef-client/libraries/helpers.rb:25: warning: already initialized constant Opscode::ChefClient::Helpers::CHEF_SERVER_USER
Another possibility would be to forgo the use of constants.
Jean Mertz added some comments on the GitHub Pull Request. Could you please take a look?
Merged in ad2be73
merged in ad2be73604f2de7529076b548a0e2f3155eabede
released in v3.3.0