> > This was a "There's A Hole In The Bucket" problem caused when trying
> >    to establish a connection to get a certificate before there was
> >    a certificate with which to establish the connection, ad
> >    infinitum.  The solution was to test for the presence of the
> >    CA cert as well as the host cert before attempting to use them.

> Is that really a named pattern?

It used to be, back in the old lisp days when recursion was new and
everybody knew their folk songs.  Not sure what you kids with your big
hard disks would call it.  Probably some acronym meaning "irreproducible
bug with a friggin enormous stack trace" or something.

I think it also has a name in the combinator world ("black hole"?) but I
prefer the "There's A Hole In The Bucket" nomenclature because it
describes exactly what's going on; a nested series of conditional
initializations that results in unbounded recursion between the various
preconditions.

    Henry, go fetch a certificate!
    But how shell I fetch it, dear Liza, dear Liza?
    Use REST, dear Henry, dear Henry,
    But I'll need a connection, dear Liza, dear Liza?
    So open one, dear Henry, dear Henry...
    But how shall I authenticate it, dear Liza, dear Liza?
    ...

-- Markus

P.S. I'd love to have claim coinage of this one, but I heard it first
from Stan Kelly-Bootle.



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

Reply via email to