2009/4/8 engle <[email protected]>

>
> I am having troubles finding the proper documentation that explains
> how to access the elements in an array.


try feeding the whole array to the package type...

   package { ["foo", "bar", "baz"]:
        ensure => latest
    }

I've not seen a 'for' loop in puppet, but then again I've never looked
properly... :)

Gary


-- 
Gary Law
Email: [email protected]
Chat googletalk/messenger: [email protected]
iChat/jabber/AIM: [email protected]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to