You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…o certain group of an organization. User must be part of organization already so had to patch chef_organization lwrp to add all users in members attribute to organization when create action is called. Changes needed for cheffish gem to work with lastest chef 12 chef-server-core package.
When creating groups the server api endpoint used is
https://localhost/groups/admins
but I keep getting back 404 errors.[2015-02-23T17:18:30+00:00] DEBUG: Re-raising exception: Net::HTTPServerException - chef_group[admins](bb_chef12::_manage_rbac line 65) had an error: Net::HTTPServerException: 404 "Not Found"
I think the organization endpoints used is wrong according to the docs.
https://docs.chef.io/api_chef_server.html#groups
(Request) GET /organizations/NAME/groups
https://docs.chef.io/api_chef_server.html#groups-group-name
(Request) GET /organizations/NAME/groups/GROUP_NAME
I think the LWRP needs to take in an organization name to figure out the endpoint correctly.
The text was updated successfully, but these errors were encountered: