Bruce Richardson <itsbr...@workshy.org> writes:
> On Thu, Nov 11, 2010 at 12:50:02PM -0800, Eric Snow wrote:

[...]

> If you were hoping to be able to create all of these users by iterating
> through a hash, or something similar, then Puppet really doesn't support
> that.  Puppet's DSL is declaritive and can't be treated like some OO
> language (I wish Luke had chosen a name other than "class" for Puppet's
> classes; it only confuses people).
>
> Have you noticed that Puppet has arrays and hashes but doesn't have a
> keys() function?  You *could* have a hash of users and their properties

It really wouldn't be a terribly hard extension to write one, however. :)

        Daniel

-- 
✣ Daniel Pittman            ✉ dan...@rimspace.net            ☎ +61 401 155 707
               ♽ made with 100 percent post-consumer electrons

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@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