Is there a way to do something like this:

class make_it_so {
  $scripts = ["a.rb", "b.rb"]

  cron { $scripts:
    command     => "/path/$scripts",
    user        => 'deploy',
    hour        => '*/4',
    minute      => '0',
  }

}

The attribute usage of the array will just take the entire array 
concatenated together. :'(

I would like to have each resource declaration have a correspond to a 
matching element of the array

I would like the attribute with $scripts to match to the iteration of the 
resource declaration $scripts.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/6db6cb93-e9c4-4a42-91e7-36aa7583b5e1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to