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
{{ message }}
This repository has been archived by the owner on May 9, 2020. It is now read-only.
is_supported() returns True, even when my Chef server is on version 12. It seems like it's because the value returned from version_parsed on my ChefAPI object is returning a version much lesser than 12; it is returning 0.10.8. This is the default value for version:
Even when using a Chef endpoint that is on version 12, Acl is unsupported when ChefAPI is instantiated with
autoconfigure()
.An instance of the
Acl
class doesn't seem to get initialized (via thereload()
function), due tois_supported()
returningFalse
:https://github.com/coderanger/pychef/blob/master/chef/acl.py#L113
is_supported()
returnsTrue
, even when my Chef server is on version 12. It seems like it's because the value returned fromversion_parsed
on my ChefAPI object is returning a version much lesser than 12; it is returning0.10.8
. This is the default value forversion
:https://github.com/coderanger/pychef/blob/master/chef/api.py#L59
My Chef client is instantiated with
autoconfigure()
, so the default version of0.10.8
can't be overwritten.In the end, I think that there is a conflation of "chef server version" and "chef api version" in the Acl class.
The text was updated successfully, but these errors were encountered: