Chef API for Updating Object Permissions


#1

Is there a way to update an object’s permissions, other than the Management Console?

My specific situation calls for creating a node/client pair via API (no problem), then updating the node permissions (having issues).

Curtis


#2

Are you using enterprise chef server i’m guessing? Check out knife-acl[1]

  • it works for hosted chef also IIRC. Just be careful, it will let you
    make destructive actions (like removing all your access thus rendering your
    account useless)

[1] https://github.com/opscode/knife-acl

On Tue, Mar 4, 2014 at 11:34 AM, Stewart, Curtis cstewart@momentumsi.comwrote:

Is there a way to update an object’s permissions, other than the
Management Console?

My specific situation calls for creating a node/client pair via API (no
problem), then updating the node permissions (having issues).

Curtis