Darvin Denmian <[email protected]> writes:
> currently I'm using the following lines to install a lot of packges
> using Puppet:
>
> package {"screen": ensure => present }
> package {"sysstat": ensure => present }
[...]
> Reading some docs I found that is possible to create an array in Puppet
> manifest files. Now my question: How can I use an array to install all those
> packages?
Yes. The documentation showing how is here:
http://docs.puppetlabs.com/guides/language_tutorial.html
Specifically:
package { ["screen", "sysstat"]: ensure => present }
Regards,
Daniel
--
✣ Daniel Pittman ✉ [email protected] ☎ +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 [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.