Part of the challenge is that I haven't seen a generally accepted language
that succinctly describes what arrays do.  If I had it to say again I would
have said arrays are Puppet's only available declarative multiplier.

On Thu, Jun 9, 2011 at 7:21 AM, jcbollinger <john.bollin...@stjude.org>wrote:

>
>
> On Jun 9, 1:33 am, Sirtaj Singh Kang <sirtaj.k...@gmail.com> wrote:
> > On 08-Jun-11, at 9:31 PM, Brian Gallew wrote:
> > [snip]
> >
> >
> >
> > > See, there's the crux of the issue: arrays are *not* a method of
> > > looping.  Puppet's DSL is declarative, not procedural (imperative).
> >
> > This isn't precisely true - every pure functional language I've seen
> > has some sort of list map and filter, otherwise nothing useful could
> > get done.
>
>
> What do functional languages have to do with it?  Puppet is not a
> functional language either.   Indeed, Puppet DSL doesn't *do* anything
> -- rather, it *describes*.  In particular, it describes system
> configurations.  If you like, you can view your Puppet manifests as
> constituting metaconfiguration for the Puppet agent, but they are in
> no sense executable.  That's the point.
>
> XML doesn't have a looping construct either, and its productive uses
> are legion.
>
>
> > IMHO there is a mismatch somewhere between the actual domain and the
> > DSL, but it's hard to identify precisely what it is.
>
>
> I can't rule out so vague an assertion, but Puppet DSL's domain model
> and overall architecture have always seemed on target to me.
>
>
> John
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To post to this group, send email to puppet-users@googlegroups.com.
> To unsubscribe from this group, send email to
> puppet-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
>
>

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

Reply via email to