O'Reilly logo
  • Bob Gamble thinks this is interesting:

 Tip  Adding square brackets [] around a list creates a Puppet array. You can specify arrays as the values of variables and many attributes; for example, you can specify many items in a single resource:

package { [ 'package1', 'package2', 'package3' ]: ensure => installed }


Cover of Pro Puppet, Second Edition


Puppet Array