Given this hash of arrays:

$players = {
  'joe' => [
    '150',
    '200',
  ],
  'janet' => 
    '120',
    '240',
  ],
}

... and given a define that's like this: 

profile::generate {$player:
  source => "puppet:///modules/$module_name/$player"
}

... how do you call profile::generater without hardcoding 2 defines? 

   

-- 
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/35644b5a-e4e8-4ff8-ad3e-dbfd504116d1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to