opscode-cookbooks/chef-client — pull request #130 by JeanMertz (2013-11-16 15:40:27+00:00)
Title: Don't define CHEF_SERVER_USER constant if already defined

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.