Set cookbook permissions from the command line?


We’re reconfiguring our Chef organizations, and I have a new organization with over 80 cookbooks in it. I want to set it up so that about 2/3 of them are only available to users in Group A, and the other 1/3 are available only to users in Group B. The two different sets of cookbooks are easily distinguishable with wildcards. Is there a way that I can do this from the command line, or will I be forced to grab the mouse, enter the Management Console, and laboriously point and click 80+ times?



You can use knife-acl here: . The readme covers a decent chuck of what you’d need.


Perfect! Thanks.