On Jun 3, 2011, at 5:52 PM, Daniel Pittman wrote:

> On Fri, Jun 3, 2011 at 16:18, Nick Fagerlund
> <nick.fagerl...@puppetlabs.com> wrote:
>> (For reference: https://projects.puppetlabs.com/issues/7783)
>> 
>> In 2.7, we have both a "cert" application and a new "certificate" face-
>> based app, and they both have a "generate" action. Unfortunately, they
>> do completely different things: `puppet cert generate rhubarb.pie.lan`
>> makes a new signed certificate, and `puppet certificate generate
>> rhubarb.pie.lan --ca-location remote` submits a certificate signing
>> request to the CA. That's bad and confusing.
>> 
>> I would suggest just renaming the action, but since we already have a
>> certificate_request face, I think we should move it there. (And then
>> rename it, preferably to "submit".) Does everyone agree on this call,
>> or is there a better option I've missed?
> 
> I think we should build an entirely new Face for interacting with the
> certificate subsystem, which is a higher level abstraction over the
> concepts that the user is going to be familiar with.  Something more
> akin to the "legacy" application than the indirection-based faces we
> currently have.
> 
> That gives us a chance to build a solid abstraction without the
> separation that the indirections imply, focused on higher level
> concerns.  Obviously, this will consume the underlying faces we have
> today, to achieve those results.

That's essentially what the existing 'cert' application is.

What would you call this new face?  And I assume you'd be seeing this for the 
next major release, right?

-- 
Hanlon's razor:
   Never attribute to malice that which can adequately be explained by
   stupidity.
---------------------------------------------------------------------
Luke Kanies  -|-   http://puppetlabs.com   -|-   http://about.me/lak




-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to puppet-dev@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en.

Reply via email to