I was looking at someone else's code one day last week and saw a pattern
I've not seen before. Maybe that's what I get for developing Puppet code in
a vacuum. :-)

class someclass (
    $parm1 = $::someclass::params::parm1,
    $parm2 = $::someclass::params::parm2       # so far I get it.
) inherits someclass::params {             # ok, I get it

     class{'someclass::package': }        # OK
     -> class('someclass::configure':}    # right...
     -> Class{'someclass':}                    #  HUH?  What does that do?
}

Is that last step necessary and why?

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAArvnv22e-Wbp8dtD9bUHTOxf68e8p3rWdNP8A2pFR6txAamzA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to