On 11/10/2010 05:16 PM, Gabriel Filion wrote:
On 11/10/2010 10:18 AM, luke.bigum wrote:
Hi list,
When declaring multiple resources at once with an array like this:
file { [ foo, bar ]: ... }
Is there a way to access the current array element so as to pass this
value as a parameter? So the
What you are looking for is a loop which does not exist in puppet, except
for templates.
I've never tried it but I've speculated it could be possible to create a
manifest template and then use puppet to generate that manifest file in a
similar fashion you are looking to do.
-Original
On 11/10/2010 10:18 AM, luke.bigum wrote:
Hi list,
When declaring multiple resources at once with an array like this:
file { [ foo, bar ]: ... }
Is there a way to access the current array element so as to pass this
value as a parameter? So the foo resource has a parameter value
foo and