Re: [Puppet-dev] Clojure authorization system for SERVER-111...

2015-06-22 Thread Eric Sorenson
On Monday, March 9, 2015 at 10:15:34 AM UTC-7, Brice Figureau wrote: > > Still I'd be interested in any comments you, Eric0, or anyone could make > both on the code or file format or whatever :) > Hi Brice, as you saw on the SERVER-111 ticket traffic, I wanted to give this some attention and wo

Re: [Puppet-dev] Clojure authorization system for SERVER-111...

2015-03-09 Thread Brice Figureau
On 09/03/2015 21:20, Chris Price wrote: > On Mon, Mar 9, 2015 at 10:15 AM, Brice Figureau > mailto:brice-pup...@daysofwonder.com>> > wrote: > > On Mon, 2015-03-09 at 08:52 -0700, Chris Price wrote: > > > > This sounds great, thanks a ton for putting it together! I'll try to > > ge

Re: [Puppet-dev] Clojure authorization system for SERVER-111...

2015-03-09 Thread Chris Price
On Mon, Mar 9, 2015 at 10:15 AM, Brice Figureau < brice-pup...@daysofwonder.com> wrote: > On Mon, 2015-03-09 at 08:52 -0700, Chris Price wrote: > > > > This sounds great, thanks a ton for putting it together! I'll try to > > get some reviews going, and maybe at some point roll an experimental > >

Re: [Puppet-dev] Clojure authorization system for SERVER-111...

2015-03-09 Thread Brice Figureau
On Mon, 2015-03-09 at 08:52 -0700, Chris Price wrote: > On Mon, Mar 9, 2015 at 1:59 AM, Brice Figureau > wrote: > > I think I've completed a milestone in respect with what you > wanted and > SERVER-111: > > https://github.com/masterzen/trapperkeepe

Re: [Puppet-dev] Clojure authorization system for SERVER-111...

2015-03-09 Thread Chris Price
On Mon, Mar 9, 2015 at 1:59 AM, Brice Figureau < brice-pup...@daysofwonder.com> wrote: > > I think I've completed a milestone in respect with what you wanted and > SERVER-111: > > https://github.com/masterzen/trapperkeeper-authorization > > > I've tried to put the better documentation I could in t

Re: [Puppet-dev] Clojure authorization system for SERVER-111...

2015-03-09 Thread Brice Figureau
On Sun, 2015-02-22 at 21:18 -0800, Eric Sorenson wrote: > > > On Feb 16, 2015, at 2:01 AM, Brice Figureau > > wrote: > > > > Hi, > > > > Following a conversation I had with Kevin and Deepak at last Ghent > > Contributor summit about solving SERVER-111[*], I started working on > > a > > clojure

Re: [Puppet-dev] Clojure authorization system for SERVER-111...

2015-02-24 Thread Chris Price
On Tue, Feb 24, 2015 at 2:48 AM, Brice Figureau < brice-pup...@daysofwonder.com> wrote: > On Mon, 2015-02-23 at 06:57 -0800, Chris Price wrote: > > On Sun, Feb 22, 2015 at 9:18 PM, Eric Sorenson > > wrote: > > How about this: > > rules { > "/path/to/first/resource" { > type = path > all

Re: [Puppet-dev] Clojure authorization system for SERVER-111...

2015-02-24 Thread Brice Figureau
On Mon, 2015-02-23 at 06:57 -0800, Chris Price wrote: > On Sun, Feb 22, 2015 at 9:18 PM, Eric Sorenson > wrote: > > Hi Brice! This project is really cool, thanks for taking it > on. I have a few comments about requirements and design that I > hope can save some wor

Re: [Puppet-dev] Clojure authorization system for SERVER-111...

2015-02-23 Thread Chris Price
On Mon, Feb 23, 2015 at 1:30 PM, Trevor Vaughan wrote: Well, without 'include' statements, you'd better add some ordering to your > puppetlabs-hocon module. > > Currently, auth.conf is order dependent and I don't really see how you're > going to change that (so you probably need ordering anyway).

Re: [Puppet-dev] Clojure authorization system for SERVER-111...

2015-02-23 Thread Trevor Vaughan
Well, without 'include' statements, you'd better add some ordering to your puppetlabs-hocon module. Currently, auth.conf is order dependent and I don't really see how you're going to change that (so you probably need ordering anyway). I suppose you could add some systemd-like before/after/depends

Re: [Puppet-dev] Clojure authorization system for SERVER-111...

2015-02-23 Thread Chris Price
On Mon, Feb 23, 2015 at 9:39 AM, Trevor Vaughan wrote: > That works. I just put in a feature request against Hiera for a HOCON > native back end :-D. > Good idea! Also, if you'd pop out some native types that can manipulate these things, > that would be nifty. > This should probably be conside

Re: [Puppet-dev] Clojure authorization system for SERVER-111...

2015-02-23 Thread Brice Figureau
Hi Eric, Thanks for your comments, those will be very helpful. See below for some answers/comments. On 23/02/2015 06:18, Eric Sorenson wrote: > >> On Feb 16, 2015, at 2:01 AM, Brice Figureau >> mailto:brice-pup...@daysofwonder.com>> >> wrote: >> >> Hi, >> >> Following a conversation I had with K

Re: [Puppet-dev] Clojure authorization system for SERVER-111...

2015-02-23 Thread Trevor Vaughan
That works. I just put in a feature request against Hiera for a HOCON native back end :-D. Also, if you'd pop out some native types that can manipulate these things, that would be nifty. While I'm at it, 'include' statements should be available in all config files since includes > concat for orde

Re: [Puppet-dev] Clojure authorization system for SERVER-111...

2015-02-23 Thread Chris Price
On Mon, Feb 23, 2015 at 7:09 AM, Trevor Vaughan wrote: > Sorry to derail for the moment but HOCON + JSON + YAML + XML? Sounds > great. > Totally agree that we have too many formats. That's why we tried to put a lot of thought into picking one that we think is robust enough to standardize on

Re: [Puppet-dev] Clojure authorization system for SERVER-111...

2015-02-23 Thread Trevor Vaughan
Sorry to derail for the moment but HOCON + JSON + YAML + XML? Sounds great. On Mon, Feb 23, 2015 at 9:57 AM, Chris Price wrote: > On Sun, Feb 22, 2015 at 9:18 PM, Eric Sorenson < > eric.soren...@puppetlabs.com> wrote: > >> >> Hi Brice! This project is really cool, thanks for taking it on. I

Re: [Puppet-dev] Clojure authorization system for SERVER-111...

2015-02-23 Thread Chris Price
On Sun, Feb 22, 2015 at 9:18 PM, Eric Sorenson wrote: > > Hi Brice! This project is really cool, thanks for taking it on. I have a > few comments about requirements and design that I hope can save some work > and make it easier to include this upstream once it's done. > > I went back and surveyed

Re: [Puppet-dev] Clojure authorization system for SERVER-111...

2015-02-22 Thread Eric Sorenson
> On Feb 16, 2015, at 2:01 AM, Brice Figureau > wrote: > > Hi, > > Following a conversation I had with Kevin and Deepak at last Ghent > Contributor summit about solving SERVER-111[*], I started working on a > clojure port of the Puppet authorization system (since I wrote a large > part of it,

[Puppet-dev] Clojure authorization system for SERVER-111...

2015-02-16 Thread Brice Figureau
Hi, Following a conversation I had with Kevin and Deepak at last Ghent Contributor summit about solving SERVER-111[*], I started working on a clojure port of the Puppet authorization system (since I wrote a large part of it, I felt I was kind of best placed to start this). For the moment all the