Chef 12 and ACL's


#1

Hello guys,

I’m using Chef 11, but Chef 12 will have ACL and that’s a great point to do
the upgrade.

But there is some way to manage the ACL’s using command line?

If I understood correctly, the new web interface will be available for free
just for a few number of nodes, right?

Thanks a lot!


– Tiago Cruz


#2

Hi Tiago,

Currently, there are a two common ways to interact with ACLs. First,
the built-in ChefFS-style commands in knife natively support acls:

knife node create foo -d
knife show /acls/nodes/foo.json

Additionally, the knife-acl[0] plugin provides commands to manipulate
ACLs as well:

knife acl show nodes foo

Because of some leaky implementation details, it can be confusing to
use both the webui and the command line tools to manipulate ACLs
because of how they choose to interact with groups, so I usually
recommend sticking to one or the other.

Cheers,

Steven

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

On Wed, Nov 5, 2014 at 8:00 PM, Tiago Cruz tiago.tuxkiller@gmail.com wrote:

Hello guys,

I’m using Chef 11, but Chef 12 will have ACL and that’s a great point to do
the upgrade.

But there is some way to manage the ACL’s using command line?

If I understood correctly, the new web interface will be available for free
just for a few number of nodes, right?

Thanks a lot!


– Tiago Cruz