- From: Daniel DeLeo <
>
- To:
- Subject: [chef] Re: Re: Re: Run "knife acl" using Python or Java
- Date: Thu, 18 Jun 2015 09:51:25 -0700
Knife ACL is ruby code so you have to either run it from Ruby or shell out to
it.
Noah maintains a Python library for interacting with the Chef Server HTTP
API:
https://github.com/coderanger/pychef
If you go the second route, you pretty much will end up rewriting knife-acl.
Be forewarned that the authorization system has a fair number of edge cases,
so you should probably make note of any comments and special cases in
knife-acl.
--
Daniel DeLeo
On Wednesday, June 17, 2015 at 9:46 AM, Tiago Cruz wrote:
>
Hello Julian,
>
>
Yes, this README helps a lot to execute calls using command line.
>
>
But I would like to avoid system calls using Java/ Python... so I'm looking
>
for a way to do this directly using the framework provided, if this is
>
possible.
>
>
Thanks!
>
>
On Wed, Jun 17, 2015 at 12:53 PM, Julian C. Dunn
>
<
>
>
(mailto:
)>
>
wrote:
>
>
>
>
>
> Does the README here help at all?
>
>
>
> https://github.com/chef/knife-acl
>
>
>
> - Julian
Archive powered by MHonArc 2.6.16.