jclouds/jclouds-chef — Issue #12: Chef new Validator failing
Author: jparal
Created: 2011-11-17 17:15:28+00:00
State: open

Chef 0.10 is failing in file below when jclouds-chef tries to create new validator instead of using default validator from chef server installation.

chef-server-api/app/controllers/application.rb:

def is_admin_or_validator
if @auth_user.admin || @auth_user.name == Chef::Config[:validation_client_name]
true
else
raise Forbidden, "You are not allowed to take this action."
end
end

since @auth_user.name is "TAG-validator-##"
and Chef::Config[:validation_client_name] is chef-validator or whatever you set up during chef-server installation

The discussion on the topic can be found here:
https://groups.google.com/forum/#!topic/jclouds-dev/9phun3b8nB4