Is there any way to use arrays in a puppet module (not in template)?
- by KARASZI István
I want to use puppet to manage a hadoop cluster. On the machines we have several directories which must be created and set permissions.
But i'm unable to add array values for defined methods.
define hdfs_site( $dirs ) {
file { $dirs:
ensure => directory,
owner => "hadoop",
group => "hadoop",
mode …